Skip to content

Commit

Permalink
partial fix for compilation with QT_NO_KEYWORDS
Browse files Browse the repository at this point in the history
need to replace signals by Q_SIGNALS and so on

Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Mar 27, 2024
1 parent 9585d99 commit d81c20b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/gui/logbrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class LogBrowser : public QDialog
protected:
void closeEvent(QCloseEvent *) override;

protected slots:
protected Q_SLOTS:
void togglePermanentLogging(bool enabled);
};

Expand Down
2 changes: 1 addition & 1 deletion src/gui/wizard/flow2authcredspage.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public Q_SLOTS:
void slotPollNow();
void slotStyleChanged();

signals:
Q_SIGNALS:
void connectToOCUrl(const QString &);
void pollNow();
void styleChanged();
Expand Down
4 changes: 2 additions & 2 deletions src/gui/wizard/flow2authwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public Q_SLOTS:
void slotStatusChanged(Flow2Auth::PollStatus status, int secondsLeft);
void slotStyleChanged();

signals:
Q_SIGNALS:
void authResult(Flow2Auth::Result, const QString &errorString, const QString &user, const QString &appPassword);
void pollNow();

Expand All @@ -52,7 +52,7 @@ public Q_SLOTS:
QScopedPointer<Flow2Auth> _asyncAuth;
Ui_Flow2AuthWidget _ui{};

protected slots:
protected Q_SLOTS:
void slotOpenBrowser();
void slotCopyLinkToClipboard();

Expand Down

0 comments on commit d81c20b

Please sign in to comment.