summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp b/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
index 84eed8cc59..690817ad9c 100644
--- a/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
+++ b/src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
@@ -575,7 +575,7 @@ void S60DeployStep::checkForTimeout()
{
if (state() != StateConnecting)
return;
- QMessageBox *mb = CodaRunControl::createCodaWaitingMessageBox(Core::ICore::instance()->mainWindow());
+ QMessageBox *mb = CodaRunControl::createCodaWaitingMessageBox(Core::ICore::mainWindow());
connect(this, SIGNAL(codaConnected()), mb, SLOT(close()));
connect(this, SIGNAL(finished()), mb, SLOT(close()));
connect(this, SIGNAL(finishNow()), mb, SLOT(close()));
@@ -588,7 +588,7 @@ void S60DeployStep::showManualInstallationInfo()
const QString title = tr("Installation");
const QString text = tr("Continue the installation on your device.");
QMessageBox *mb = new QMessageBox(QMessageBox::Information, title, text,
- QMessageBox::Ok, Core::ICore::instance()->mainWindow());
+ QMessageBox::Ok, Core::ICore::mainWindow());
connect(this, SIGNAL(allFilesInstalled()), mb, SLOT(close()));
connect(this, SIGNAL(finished()), mb, SLOT(close()));
connect(this, SIGNAL(finishNow()), mb, SLOT(close()));