From ec16525164ac1b792d63ce25f1a127d304f77d74 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 16 Jul 2017 11:49:06 +0800 Subject: [PATCH] Fix "QObject::connect: No such slot" errors Fixup of d25467d3e686906a6264a536e305559689ac5b52 --- src/gui/mainwindow.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui/mainwindow.h b/src/gui/mainwindow.h index 39ba2011e..f3e1b2a93 100644 --- a/src/gui/mainwindow.h +++ b/src/gui/mainwindow.h @@ -187,15 +187,17 @@ private slots: void toolbarTextBeside(); void toolbarTextUnder(); void toolbarFollowSystem(); +#ifndef Q_OS_MAC + void toggleVisibility(const QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Trigger); + void createSystrayDelayed(); + void updateTrayIconMenu(); +#endif private: #ifdef Q_OS_MAC void setupDockClickHandler(); #else - void toggleVisibility(const QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Trigger); void createTrayIcon(); - void createSystrayDelayed(); - void updateTrayIconMenu(); QIcon getSystrayIcon() const; #endif #ifdef Q_OS_WIN