From 7f19c23c52c8ff5ca29977e5e14b79805efa7d6a Mon Sep 17 00:00:00 2001 From: Johann Latocha Date: Sat, 4 Jun 2011 14:30:35 +0200 Subject: [PVSGUI] Visibility of balloon messages is now configurable (default is false) --- misc/pvsgui.conf | 2 +- src/pvsgui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/pvsgui.conf b/misc/pvsgui.conf index 9725bf5..a0171eb 100644 --- a/misc/pvsgui.conf +++ b/misc/pvsgui.conf @@ -1,3 +1,3 @@ [Display] location=1 - +showmsgs=false 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()) -- cgit v1.2.3-55-g7522