Until Qt 6 moc doesn't support trailing return type well.

This commit is contained in:
Roman Telezhynskyi 2023-05-10 11:00:18 +03:00
parent 4a7ce91f65
commit 04852c132c
2 changed files with 5 additions and 5 deletions

View File

@ -58,11 +58,11 @@ public:
public slots: public slots:
// Check for updates // Check for updates
auto CheckForUpdates(bool silentAsMuchAsItCouldGet = true) -> bool; bool CheckForUpdates(bool silentAsMuchAsItCouldGet = true); // NOLINT(modernize-use-trailing-return-type)
// Aliases // Aliases
auto CheckForUpdatesSilent() -> bool; bool CheckForUpdatesSilent(); // NOLINT(modernize-use-trailing-return-type)
auto CheckForUpdatesNotSilent() -> bool; bool CheckForUpdatesNotSilent(); // NOLINT(modernize-use-trailing-return-type)
protected: protected:
friend class FvUpdateWindow; // Uses GetProposedUpdate() and others friend class FvUpdateWindow; // Uses GetProposedUpdate() and others

View File

@ -62,8 +62,8 @@ protected:
private slots: private slots:
void on_actionNew_triggered(); void on_actionNew_triggered();
auto on_actionSaveAs_triggered() -> bool; bool on_actionSaveAs_triggered(); // NOLINT(modernize-use-trailing-return-type)
auto on_actionSave_triggered() -> bool; bool on_actionSave_triggered(); // NOLINT(modernize-use-trailing-return-type)
void on_actionOpen_triggered(); void on_actionOpen_triggered();
void on_actionExit_triggered(); void on_actionExit_triggered();