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:
parent
b5602e2d5c
commit
ed2a78210d
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue