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/editexecutablesdialog.h | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) (limited to 'src/editexecutablesdialog.h') diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index da30bf0b..1d0bd4a0 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -20,17 +20,18 @@ along with Mod Organizer. If not, see . #ifndef EDITEXECUTABLESDIALOG_H #define EDITEXECUTABLESDIALOG_H -#include "tutorabledialog.h" -#include #include "executableslist.h" -#include "profile.h" #include "iplugingame.h" -#include +#include "profile.h" +#include "tutorabledialog.h" #include +#include +#include #include -namespace Ui { - class EditExecutablesDialog; +namespace Ui +{ +class EditExecutablesDialog; } class ModList; @@ -48,10 +49,7 @@ public: bool enabled; T value; - Value(bool b, T&& v) - : enabled(b), value(std::forward(v)) - { - } + Value(bool b, T&& v) : enabled(b), value(std::forward(v)) {} }; /** @@ -135,21 +133,20 @@ private: std::map m_map; }; - /** * @brief Dialog to manage the list of executables **/ class EditExecutablesDialog : public MOBase::TutorableDialog { - Q_OBJECT; - friend class IgnoreChanges; + Q_OBJECT; + friend class IgnoreChanges; public: using CustomOverwrites = ToggableMap; - using ForcedLibraries = ToggableMap>; + using ForcedLibraries = ToggableMap>; - explicit EditExecutablesDialog( - OrganizerCore& oc, int selection=-1, QWidget* parent=nullptr); + explicit EditExecutablesDialog(OrganizerCore& oc, int selection = -1, + QWidget* parent = nullptr); ~EditExecutablesDialog(); @@ -207,7 +204,6 @@ private: // the executable's data into the UI, not from a user change bool m_settingUI; - void loadCustomOverwrites(); void loadForcedLibraries(); @@ -240,4 +236,4 @@ private: void setJarBinary(const QFileInfo& binary); }; -#endif // EDITEXECUTABLESDIALOG_H +#endif // EDITEXECUTABLESDIALOG_H -- cgit v1.3.1