[PC-BSD Commits] r20317 - pcbsd/current/src-qt4/life-preserver

svn at pcbsd.org svn at pcbsd.org
Thu Nov 29 18:04:29 PST 2012


Author: kris
Date: 2012-11-30 02:04:29 +0000 (Fri, 30 Nov 2012)
New Revision: 20317

Modified:
   pcbsd/current/src-qt4/life-preserver/lifePreserverMain.cpp
Log:

Try to prevent intertwined timers



Modified: pcbsd/current/src-qt4/life-preserver/lifePreserverMain.cpp
===================================================================
--- pcbsd/current/src-qt4/life-preserver/lifePreserverMain.cpp	2012-11-29 15:39:10 UTC (rev 20316)
+++ pcbsd/current/src-qt4/life-preserver/lifePreserverMain.cpp	2012-11-30 02:04:29 UTC (rev 20317)
@@ -107,7 +107,7 @@
    } else {
      trayIcon->setIcon(QIcon(setIcon));
      setWindowIcon(QIcon(setIcon));
-     QTimer::singleShot(1000, this, SLOT(slotTrayAnimation() ) );
+     QTimer::singleShot(10000, this, SLOT(slotTrayAnimation() ) );
    }
 
 }
@@ -193,7 +193,6 @@
 
   trayIcon->setToolTip(tooltip);
 
-
   QTimer::singleShot(6000, this, SLOT(slotScanPreserversForChanges() ) );
 }
 



More information about the Commits mailing list