From d13f6bb870cdda71257f665367be8ef9fca86255 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Tue, 17 May 2022 11:47:01 +0200 Subject: Apply clang-format. --- src/aboutdialog.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'src/aboutdialog.h') diff --git a/src/aboutdialog.h b/src/aboutdialog.h index f029f931..8b95e2e7 100644 --- a/src/aboutdialog.h +++ b/src/aboutdialog.h @@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License along with Mod Organizer. If not, see . */ - #define ABOUTDIALOG_H #include @@ -28,8 +27,9 @@ class QListWidgetItem; #include -namespace Ui { - class AboutDialog; +namespace Ui +{ +class AboutDialog; } class AboutDialog : public QDialog @@ -37,12 +37,12 @@ class AboutDialog : public QDialog Q_OBJECT public: - explicit AboutDialog(const QString &version, QWidget *parent = 0); + explicit AboutDialog(const QString& version, QWidget* parent = 0); ~AboutDialog(); private: - - enum Licenses { + enum Licenses + { LICENSE_NONE, LICENSE_LGPL3, LICENSE_LGPL21, @@ -65,19 +65,17 @@ private: }; private: - - void addLicense(const QString &name, Licenses license); + void addLicense(const QString& name, Licenses license); private slots: - void on_creditsList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous); - void on_sourceText_linkActivated(const QString &link); + void on_creditsList_currentItemChanged(QListWidgetItem* current, + QListWidgetItem* previous); + void on_sourceText_linkActivated(const QString& link); private: - - Ui::AboutDialog *ui; + Ui::AboutDialog* ui; std::map m_LicenseFiles; - }; -#endif // ABOUTDIALOG_H +#endif // ABOUTDIALOG_H -- cgit v1.3.1