Revert the init-with-singleshot-timer hack because it seems to break the kpart

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=957959
This commit is contained in:
Volker Lanz 2009-04-23 07:27:27 +00:00
parent b5602e2d5c
commit ed2a78210d
1 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,6 @@
#include <kstandardguiitem.h>
#include <QCloseEvent>
#include <QTimer>
#include <config.h>
@ -49,7 +48,7 @@ MainWindow::MainWindow(QWidget* parent, KActionCollection* coll) :
m_ActionCollection(coll)
{
setupUi(this);
QTimer::singleShot(0, this, SLOT(init()));
init();
}
void MainWindow::init()