diff options
author | miniak <milan.burda@gmail.com> | 2010-06-11 12:54:19 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2010-06-11 12:54:19 (GMT) |
commit | 936fc54e313cfe8923ba94738e52a92adcf6ccf0 (patch) | |
tree | 2417a15e6c53d488f6bc4aff7ad811358ffa9887 /src/gui/util/qsystemtrayicon.cpp | |
parent | d36e728d35f9b83710b4d88c719fbe64bbe58c1b (diff) | |
download | Qt-936fc54e313cfe8923ba94738e52a92adcf6ccf0.zip Qt-936fc54e313cfe8923ba94738e52a92adcf6ccf0.tar.gz Qt-936fc54e313cfe8923ba94738e52a92adcf6ccf0.tar.bz2 |
Fix QSystemTrayIcon::supportsMessages() on Windows
Add QSystemTrayIconPrivate::supportsMessages_sys() method
Report support for balloon messages only when they are actually allowed ("EnableBalloonTips" registry value)
Merge-request: 2355
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'src/gui/util/qsystemtrayicon.cpp')
-rw-r--r-- | src/gui/util/qsystemtrayicon.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/util/qsystemtrayicon.cpp b/src/gui/util/qsystemtrayicon.cpp index d7dde87..941961b 100644 --- a/src/gui/util/qsystemtrayicon.cpp +++ b/src/gui/util/qsystemtrayicon.cpp @@ -356,10 +356,7 @@ bool QSystemTrayIcon::isSystemTrayAvailable() */ bool QSystemTrayIcon::supportsMessages() { -#if defined(Q_WS_QWS) - return false; -#endif - return true; + return QSystemTrayIconPrivate::supportsMessages_sys(); } /*! |