summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
commit90940a774eab876c38d5cef981b4be5bae67a462 (patch)
tree2e60edc1719ffd53752a55a7f0444166965e90c5 /variant/default/main-window.hpp
parente3292e1ddaa8d69eb320d2700fc582b4675cf8ce (diff)
modernize only
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r--variant/default/main-window.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp
index 0e3d8257..df1723b3 100644
--- a/variant/default/main-window.hpp
+++ b/variant/default/main-window.hpp
@@ -39,9 +39,7 @@
#include "ui_main-window.h"
-using namespace options;
-
-class main_window : public QMainWindow, private State
+class main_window final : public QMainWindow, private State
{
Q_OBJECT
@@ -147,7 +145,7 @@ signals:
void restart_tracker();
public:
main_window();
- ~main_window();
+ ~main_window() override;
static void set_working_directory();
bool maybe_die_on_config_not_writable(const QString& current, QStringList* ini_list);
void die_on_config_not_writable();