aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-18 17:13:24 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-18 17:13:24 +0200
commitd7c51cc1f3e67ad9c167b7afcbf7313181832718 (patch)
tree1c1b9754060ebfbbf4ad606f39a820b539db1b11 /plugins
parentUpdate vendor.cmake (diff)
downloadsmolbote-d7c51cc1f3e67ad9c167b7afcbf7313181832718.tar.xz
clang-format pass
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ConfigurationEditor/configurationeditorplugin.cpp10
-rw-r--r--plugins/ConfigurationEditor/configurationeditorplugin.h1
2 files changed, 5 insertions, 6 deletions
diff --git a/plugins/ConfigurationEditor/configurationeditorplugin.cpp b/plugins/ConfigurationEditor/configurationeditorplugin.cpp
index 0d44a8a..bf8a90d 100644
--- a/plugins/ConfigurationEditor/configurationeditorplugin.cpp
+++ b/plugins/ConfigurationEditor/configurationeditorplugin.cpp
@@ -1,7 +1,7 @@
#include "configurationeditorplugin.h"
-#include <QHash>
-#include <QDialog>
#include "forms/configurationdialog.h"
+#include <QDialog>
+#include <QHash>
#include <configuration.h>
CommandHash_t ConfigurationEditorPlugin::commands()
@@ -9,9 +9,9 @@ CommandHash_t ConfigurationEditorPlugin::commands()
QHash<QString, std::function<int()>> hash;
hash.insert("configure", [this]() -> int {
- auto *dlg = createWidget(nullptr);
- return dlg->exec();
- });
+ auto *dlg = createWidget(nullptr);
+ return dlg->exec();
+ });
return hash;
}
diff --git a/plugins/ConfigurationEditor/configurationeditorplugin.h b/plugins/ConfigurationEditor/configurationeditorplugin.h
index 6bb72ce..5e70ab7 100644
--- a/plugins/ConfigurationEditor/configurationeditorplugin.h
+++ b/plugins/ConfigurationEditor/configurationeditorplugin.h
@@ -15,7 +15,6 @@ public:
// PluginInterface
CommandHash_t commands() override;
QDialog *createWidget(QWidget *parent = nullptr) override;
-
};
#endif // CONFIGURATIONEDITOR_PLUGIN_H