1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-25 22:14:32 +00:00

Fix "QObject::connect: No such slot" errors

Fixup of d25467d3e686906a6264a536e305559689ac5b52
This commit is contained in:
Chocobo1 2017-07-16 11:49:06 +08:00
parent 1f9eb594e7
commit ec16525164

View File

@ -187,15 +187,17 @@ private slots:
void toolbarTextBeside(); void toolbarTextBeside();
void toolbarTextUnder(); void toolbarTextUnder();
void toolbarFollowSystem(); void toolbarFollowSystem();
#ifndef Q_OS_MAC
void toggleVisibility(const QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Trigger);
void createSystrayDelayed();
void updateTrayIconMenu();
#endif
private: private:
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
void setupDockClickHandler(); void setupDockClickHandler();
#else #else
void toggleVisibility(const QSystemTrayIcon::ActivationReason reason = QSystemTrayIcon::Trigger);
void createTrayIcon(); void createTrayIcon();
void createSystrayDelayed();
void updateTrayIconMenu();
QIcon getSystrayIcon() const; QIcon getSystrayIcon() const;
#endif #endif
#ifdef Q_OS_WIN #ifdef Q_OS_WIN