summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohann Latocha2011-06-04 13:27:40 +0200
committerJohann Latocha2011-06-04 13:27:40 +0200
commitf914819a2ce8ecbaa1ae75c41610be44d8a1ee18 (patch)
tree6abc33da13e2dd4c7f8d80a97afdfbb4a1449a50
parentEnhancement #829 (diff)
downloadpvs-f914819a2ce8ecbaa1ae75c41610be44d8a1ee18.tar.gz
pvs-f914819a2ce8ecbaa1ae75c41610be44d8a1ee18.tar.xz
pvs-f914819a2ce8ecbaa1ae75c41610be44d8a1ee18.zip
Enhancement #833
-rw-r--r--src/pvsgui.cpp2
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);