[PC-BSD Commits] r7854 - pcbsd/current/src-qt4/pc-systemupdatertray

svn at pcbsd.org svn at pcbsd.org
Mon Oct 18 12:53:34 PDT 2010


Author: kris
Date: 2010-10-18 12:53:34 -0700 (Mon, 18 Oct 2010)
New Revision: 7854

Modified:
   pcbsd/current/src-qt4/pc-systemupdatertray/main.cpp
Log:

Remove check if tray is active, since not all DE's may have tray loaded when this is started



Modified: pcbsd/current/src-qt4/pc-systemupdatertray/main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-systemupdatertray/main.cpp	2010-10-18 19:28:07 UTC (rev 7853)
+++ pcbsd/current/src-qt4/pc-systemupdatertray/main.cpp	2010-10-18 19:53:34 UTC (rev 7854)
@@ -25,13 +25,6 @@
    a.installTranslator( &translator );
    qDebug() << "Locale:" << langCode;
 
-   if (!QSystemTrayIcon::isSystemTrayAvailable()) {
-         QMessageBox::critical(0, QObject::tr("Systray"),
-                               QObject::tr("I couldn't detect any system tray "
-                                           "on this system."));
-         return 1;
-   }
-
    qDebug() << "Starting Tray Application";
 
    UpdaterTray tray;



More information about the Commits mailing list