Sticky timers are loaded with zero timer at startup
[kitchenalert] / src / kitchenalertmainwindow.cpp
index b2dc075..f74da41 100644 (file)
@@ -104,7 +104,7 @@ KitchenAlertMainWindow::KitchenAlertMainWindow(QWidget *parent) :
   connect(p_StickyAction, SIGNAL(triggered()),this,SLOT(openStickyDialog()));
   menuBar()->addAction(p_StickyAction);
 
-  loadStickies();
+  QTimer::singleShot(0,this,SLOT(loadStickies())); //Load sticky timers after construction to speed the application showing up
 
     }