aboutsummaryrefslogtreecommitdiff
path: root/src/qt/notificator.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-12-20 01:06:37 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-12-20 01:06:37 +0200
commit698d0f882a852b8d36abdf11e7729422979bb1fd (patch)
tree6e31eac94b4037dfc2e367301000e9f06b6b4e1a /src/qt/notificator.h
parentf080c65a09a8f3b223c9b5d8e3562320bf258fcd (diff)
Remove misplaced Q_UNUSED and others enhancements
Also this removes unused function parameters and improves comments.
Diffstat (limited to 'src/qt/notificator.h')
-rw-r--r--src/qt/notificator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/notificator.h b/src/qt/notificator.h
index 10b7b6c50a..7d80b43e43 100644
--- a/src/qt/notificator.h
+++ b/src/qt/notificator.h
@@ -57,7 +57,7 @@ private:
enum Mode {
None, /**< Ignore informational notifications, and show a modal pop-up dialog for Critical notifications. */
Freedesktop, /**< Use DBus org.freedesktop.Notifications */
- QSystemTray, /**< Use QSystemTray::showMessage */
+ QSystemTray, /**< Use QSystemTrayIcon::showMessage() */
UserNotificationCenter /**< Use the 10.8+ User Notification Center (Mac only) */
};
QString programName;
@@ -68,9 +68,9 @@ private:
void notifyDBus(Class cls, const QString &title, const QString &text, const QIcon &icon, int millisTimeout);
#endif
- void notifySystray(Class cls, const QString &title, const QString &text, const QIcon &icon, int millisTimeout);
+ void notifySystray(Class cls, const QString &title, const QString &text, int millisTimeout);
#ifdef Q_OS_MAC
- void notifyMacUserNotificationCenter(Class cls, const QString &title, const QString &text, const QIcon &icon);
+ void notifyMacUserNotificationCenter(const QString &title, const QString &text);
#endif
};