From dce0deca9b550beeaa3afe0c4b3bc85b41bd29bc Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 13 Nov 2023 13:42:45 +0100 Subject: [PATCH] Gui: getter Gui::MainWindow::isRestoringWindowState possibly mismarked as a slot [-Wclazy-const-signal-or-slot] --- src/Gui/MainWindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/MainWindow.h b/src/Gui/MainWindow.h index 62ce4a1e94..4600ea85d1 100644 --- a/src/Gui/MainWindow.h +++ b/src/Gui/MainWindow.h @@ -209,6 +209,8 @@ public: void initDockWindows(bool show); + bool isRestoringWindowState() const; + public Q_SLOTS: /** * Updates the standard actions of a text editor such as Cut, Copy, Paste, Undo and Redo. @@ -260,8 +262,6 @@ public Q_SLOTS: void showMessage (const QString & message, int timeout = 0); - bool isRestoringWindowState() const; - protected: /** * This method checks if the main window can be closed by checking all open documents and views.