diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-08-09 15:26:13 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-08-12 18:02:11 +0300 |
commit | b5cb6a11ce1502fcfaee4ac50d3475bb8d9a311a (patch) | |
tree | fa4e92f3db0f7d40c1f810bdc782657c1d275937 /src/gui/settingsdialog.h | |
parent | 473f4fe6aa51253fb71b5dccd9ab701dfcc4ea02 (diff) |
Limit window size to 2/3
Fixes: #8366
Diffstat (limited to 'src/gui/settingsdialog.h')
-rw-r--r-- | src/gui/settingsdialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/settingsdialog.h b/src/gui/settingsdialog.h index f977ffe6d..b71664d74 100644 --- a/src/gui/settingsdialog.h +++ b/src/gui/settingsdialog.h @@ -51,8 +51,10 @@ class SettingsDialog : public QMainWindow public: explicit SettingsDialog(ownCloudGui *gui, QWidget *parent = nullptr); - ~SettingsDialog() override; + ~SettingsDialog() override; + QSize minimumSizeHint() const override; + QSize sizeHintForChild() const; QWidget* currentPage(); |