summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohann Latocha2011-06-04 14:30:35 +0200
committerJohann Latocha2011-06-04 14:30:35 +0200
commit7f19c23c52c8ff5ca29977e5e14b79805efa7d6a (patch)
tree06ed43c973fd8a547a8221ca37450e1ab75b36c5 /src
parentEnhancement #833 (diff)
downloadpvs-7f19c23c52c8ff5ca29977e5e14b79805efa7d6a.tar.gz
pvs-7f19c23c52c8ff5ca29977e5e14b79805efa7d6a.tar.xz
pvs-7f19c23c52c8ff5ca29977e5e14b79805efa7d6a.zip
[PVSGUI] Visibility of balloon messages is now configurable (default is false)
Diffstat (limited to 'src')
-rw-r--r--src/pvsgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pvsgui.cpp b/src/pvsgui.cpp
index 94d7a74..7e25682 100644
--- a/src/pvsgui.cpp
+++ b/src/pvsgui.cpp
@@ -311,7 +311,7 @@ void PVSGUI::pvsDisconnect()
void PVSGUI::showMessage(QString title, QString msg, bool useDialog)
{
- if (_restricted) return;
+ if (!_settings.value("Display/showmsgs").toBool()) return;
// show balloon message if supported, otherwise show message dialog
if (!useDialog && _trayIcon && QSystemTrayIcon::supportsMessages())