diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-06-26 15:50:44 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-06-29 17:01:17 +0300 |
commit | b6b0de2381a03ba15602997f9153dd72ed77f65e (patch) | |
tree | b3fe98f556c019b3276336fa4bf425e4a4705af3 /src/gui/settingsdialog.h | |
parent | a7aa9303b4f5f79d9386048e227abee3dbd2aaf4 (diff) |
Gui: Make settings dialog a main Window instad of a dilaog
It has be used as a Window in ages ...
Diffstat (limited to 'src/gui/settingsdialog.h')
-rw-r--r-- | src/gui/settingsdialog.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/settingsdialog.h b/src/gui/settingsdialog.h index 725088cac..fa52c2bbd 100644 --- a/src/gui/settingsdialog.h +++ b/src/gui/settingsdialog.h @@ -16,6 +16,7 @@ #define SETTINGSDIALOG_H #include <QDialog> +#include <QMainWindow> #include <QStyledItemDelegate> #include "progressdispatcher.h" @@ -43,7 +44,7 @@ class ActivitySettings; * @brief The SettingsDialog class * @ingroup gui */ -class SettingsDialog : public QDialog +class SettingsDialog : public QMainWindow { Q_OBJECT Q_PROPERTY(QWidget* currentPage READ currentPage) @@ -65,8 +66,6 @@ public slots: void slotAccountDisplayNameChanged(); protected: - void reject() override; - void accept() override; void changeEvent(QEvent *) override; void setVisible(bool visible) override; @@ -90,8 +89,6 @@ private: // case the account avatar changes QHash<Account *, QAction *> _actionForAccount; - QToolBar *_toolBar; - ActivitySettings *_activitySettings; QAction *_activityAction; |