summaryrefslogtreecommitdiff
path: root/src/instancemanagerdialog.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2022-05-17 11:47:01 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2023-07-09 17:20:40 +0200
commitd13f6bb870cdda71257f665367be8ef9fca86255 (patch)
tree52e214718478f1e52856572f5aa1a2ac58537f9f /src/instancemanagerdialog.h
parent86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff)
Apply clang-format.
Diffstat (limited to 'src/instancemanagerdialog.h')
-rw-r--r--src/instancemanagerdialog.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/instancemanagerdialog.h b/src/instancemanagerdialog.h
index bb03fd95..884beaa5 100644
--- a/src/instancemanagerdialog.h
+++ b/src/instancemanagerdialog.h
@@ -1,10 +1,13 @@
#ifndef MODORGANIZER_INSTANCEMANAGERDIALOG_INCLUDED
#define MODORGANIZER_INSTANCEMANAGERDIALOG_INCLUDED
-#include <filterwidget.h>
#include <QDialog>
+#include <filterwidget.h>
-namespace Ui { class InstanceManagerDialog; };
+namespace Ui
+{
+class InstanceManagerDialog;
+};
class Instance;
class PluginContainer;
@@ -16,8 +19,7 @@ class InstanceManagerDialog : public QDialog
Q_OBJECT
public:
- explicit InstanceManagerDialog(
- PluginContainer& pc, QWidget *parent = nullptr);
+ explicit InstanceManagerDialog(PluginContainer& pc, QWidget* parent = nullptr);
~InstanceManagerDialog();
@@ -54,7 +56,6 @@ public:
//
void exploreGame();
-
// converts the selected, portable instance to a global one; not implemented
//
void convertToGlobal();
@@ -71,13 +72,11 @@ public:
//
void deleteInstance();
-
// sets whether the dialog should restart MO when selecting an instance; this
// is false on startup when no instances exist
//
void setRestartOnSelect(bool b);
-
// saves geometry
//
void done(int r) override;
@@ -113,7 +112,6 @@ private:
//
bool confirmSwitch(const Instance& to);
-
// returns the index of selected instance, NoSelection if none
//
std::size_t singleSelectionIndex() const;
@@ -144,4 +142,4 @@ private:
bool doDelete(const QStringList& files, bool recycle);
};
-#endif // MODORGANIZER_INSTANCEMANAGERDIALOG_INCLUDED
+#endif // MODORGANIZER_INSTANCEMANAGERDIALOG_INCLUDED