Translations:Development/Tutorials/Common Programming Mistakes/80/en

From KDE TechBase

<syntaxhighlight lang="cpp-qt"> MainWindow::MainWindow() {

   initGUI();
   QTimer::singleShot( 0, this, SLOT(initObject()) );

}