diff options
author | Johann Latocha | 2011-06-04 13:27:40 +0200 |
---|---|---|
committer | Johann Latocha | 2011-06-04 13:27:40 +0200 |
commit | f914819a2ce8ecbaa1ae75c41610be44d8a1ee18 (patch) | |
tree | 6abc33da13e2dd4c7f8d80a97afdfbb4a1449a50 | |
parent | Enhancement #829 (diff) | |
download | pvs-f914819a2ce8ecbaa1ae75c41610be44d8a1ee18.tar.gz pvs-f914819a2ce8ecbaa1ae75c41610be44d8a1ee18.tar.xz pvs-f914819a2ce8ecbaa1ae75c41610be44d8a1ee18.zip |
Enhancement #833
-rw-r--r-- | src/pvsgui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pvsgui.cpp b/src/pvsgui.cpp index 5ae3db6..94d7a74 100644 --- a/src/pvsgui.cpp +++ b/src/pvsgui.cpp @@ -311,6 +311,8 @@ void PVSGUI::pvsDisconnect() void PVSGUI::showMessage(QString title, QString msg, bool useDialog) { + if (_restricted) return; + // show balloon message if supported, otherwise show message dialog if (!useDialog && _trayIcon && QSystemTrayIcon::supportsMessages()) _trayIcon->showMessage(title, msg, QSystemTrayIcon::Information, 10000); |