diff options
Diffstat (limited to 'variant/default/main-window.hpp')
-rw-r--r-- | variant/default/main-window.hpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/variant/default/main-window.hpp b/variant/default/main-window.hpp index 823c5191..3c55be9e 100644 --- a/variant/default/main-window.hpp +++ b/variant/default/main-window.hpp @@ -32,8 +32,6 @@ #include <QEvent> #include <QCloseEvent> -#include <algorithm> -#include <vector> #include <tuple> #include <memory> @@ -98,18 +96,6 @@ class main_window final : public QMainWindow, private State void annoy_if_root(); #endif - // only use in impl file since no definition in header! - template<typename t> - bool mk_dialog(const std::shared_ptr<dylib>& lib, std::unique_ptr<t>& d); - - // idem - template<typename t, typename... Args> - inline bool mk_window(std::unique_ptr<t>& place, Args&&... params); - - // idem - template<typename t, typename F> - bool mk_window_common(std::unique_ptr<t>& d, F&& ctor); - void closeEvent(QCloseEvent *event) override; bool maybe_die_on_config_not_writable(const QString& current, QStringList* ini_list); |