From 04852c132c673799220f4b82d47fe8e1840797d4 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 10 May 2023 11:00:18 +0300 Subject: [PATCH] Until Qt 6 moc doesn't support trailing return type well. --- src/libs/fervor/fvupdater.h | 6 +++--- src/libs/vlayout/dialogs/watermarkwindow.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libs/fervor/fvupdater.h b/src/libs/fervor/fvupdater.h index 18b79396a..70e20d825 100644 --- a/src/libs/fervor/fvupdater.h +++ b/src/libs/fervor/fvupdater.h @@ -58,11 +58,11 @@ public: public slots: // Check for updates - auto CheckForUpdates(bool silentAsMuchAsItCouldGet = true) -> bool; + bool CheckForUpdates(bool silentAsMuchAsItCouldGet = true); // NOLINT(modernize-use-trailing-return-type) // Aliases - auto CheckForUpdatesSilent() -> bool; - auto CheckForUpdatesNotSilent() -> bool; + bool CheckForUpdatesSilent(); // NOLINT(modernize-use-trailing-return-type) + bool CheckForUpdatesNotSilent(); // NOLINT(modernize-use-trailing-return-type) protected: friend class FvUpdateWindow; // Uses GetProposedUpdate() and others diff --git a/src/libs/vlayout/dialogs/watermarkwindow.h b/src/libs/vlayout/dialogs/watermarkwindow.h index f53b0826a..52439f036 100644 --- a/src/libs/vlayout/dialogs/watermarkwindow.h +++ b/src/libs/vlayout/dialogs/watermarkwindow.h @@ -62,8 +62,8 @@ protected: private slots: void on_actionNew_triggered(); - auto on_actionSaveAs_triggered() -> bool; - auto on_actionSave_triggered() -> bool; + bool on_actionSaveAs_triggered(); // NOLINT(modernize-use-trailing-return-type) + bool on_actionSave_triggered(); // NOLINT(modernize-use-trailing-return-type) void on_actionOpen_triggered(); void on_actionExit_triggered();