[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/krfb/krfb
From:       George Kiagiadakis <kiagiadakis.george () gmail ! com>
Date:       2010-11-10 17:48:59
Message-ID: 20101110174859.47F49AC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1195266 by gkiagia:

Make the about dialog non-modal so that it doesn't freeze the image on the remote side.

 M  +3 -1      trayicon.cpp  


--- trunk/KDE/kdenetwork/krfb/krfb/trayicon.cpp #1195265:1195266
@@ -49,7 +49,9 @@
 
 void TrayIcon::showAbout()
 {
-    KAboutApplicationDialog(KGlobal::mainComponent().aboutData()).exec();
+    KDialog *dlg = new KAboutApplicationDialog(KGlobal::mainComponent().aboutData());
+    dlg->setAttribute(Qt::WA_DeleteOnClose, true);
+    dlg->show();
 }
 
 void TrayIcon::showConnectedMessage(const QString &host)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic