diff options
| author | Nate Graham <[email protected]> | 2021-04-22 18:06:06 -0600 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2021-05-05 03:50:44 +0000 |
| commit | c836cf010c12858a7f3a4943c06f9de2b9f31a14 (patch) | |
| tree | 61c38be364a4149650812ea249acd6de029c43f4 /src/dolphinmainwindow.h | |
| parent | a6ec74a82c2f31a7eda0a7ba562c8f6bd77b1421 (diff) | |
Set initial size corectly
The resize() that we do to set the initial size is working around a
bug in frameworks that is going to be fixed soon. See
https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/53.
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 40101852b..3c83b2178 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -225,6 +225,9 @@ protected: /** Handles QWhatsThisClickedEvent and passes all others on. */ bool eventFilter(QObject*, QEvent*) override; + /** Sets a sane initial window size **/ + QSize sizeHint() const override; + protected Q_SLOTS: /** * Calls the base method KXmlGuiWindow::saveNewToolbarConfig(). |
