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:
// 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

View File

@ -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();