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) --- src/pvsgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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