forked from qt-creator/qt-creator
Maemo: Fix timer bug.
This commit is contained in:
@@ -60,6 +60,7 @@ MaemoDeployables::MaemoDeployables(const Qt4Target *target)
|
|||||||
{
|
{
|
||||||
QTimer::singleShot(0, this, SLOT(init()));
|
QTimer::singleShot(0, this, SLOT(init()));
|
||||||
m_updateTimer->setInterval(1500);
|
m_updateTimer->setInterval(1500);
|
||||||
|
m_updateTimer->setSingleShot(true);
|
||||||
connect(m_updateTimer, SIGNAL(timeout()), this, SLOT(createModels()));
|
connect(m_updateTimer, SIGNAL(timeout()), this, SLOT(createModels()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user