The application shows up earlier, although is blocked. At least the user
can see it is starting up.
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
}
/*! Opens a dialog for choosing which timers to preload at start */
void openStickyDialog();
+ /*! Loads the sticky timers. */
+ bool loadStickies();
+
signals:
void defaultSoundEnabled();
*/
void disableSelectionDependentButtons();
- bool loadStickies();
+