summaryrefslogtreecommitdiff
path: root/src/plugins/madde/maemodeploybymountsteps.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-08-30 20:43:02 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-08-30 20:43:02 +0200
commita32e243e6168d0cf329390e74e547fc6b2cc0460 (patch)
tree62b8955655cbaf0a58b18820ed440403e8fa91b1 /src/plugins/madde/maemodeploybymountsteps.cpp
parente6270852a3a29dfa0afb9ad00d93504d7460598a (diff)
parent5fdb9f0df92e14c3ab92a0c34dfbbd0956131c2c (diff)
downloadqt-creator-a32e243e6168d0cf329390e74e547fc6b2cc0460.tar.gz
Merge branch '2.6'
Conflicts: src/libs/utils/consoleprocess_unix.cpp Change-Id: I196f61e882bfce94e165d9c724bffee9df1011b7
Diffstat (limited to 'src/plugins/madde/maemodeploybymountsteps.cpp')
-rw-r--r--src/plugins/madde/maemodeploybymountsteps.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/plugins/madde/maemodeploybymountsteps.cpp b/src/plugins/madde/maemodeploybymountsteps.cpp
index 70b460ca9d..4045ae583d 100644
--- a/src/plugins/madde/maemodeploybymountsteps.cpp
+++ b/src/plugins/madde/maemodeploybymountsteps.cpp
@@ -41,8 +41,6 @@
#include <projectexplorer/project.h>
#include <projectexplorer/target.h>
#include <qt4projectmanager/qt4buildconfiguration.h>
-#include <qtsupport/baseqtversion.h>
-#include <qtsupport/qtprofileinformation.h>
#include <remotelinux/abstractremotelinuxdeployservice.h>
#include <remotelinux/linuxdevice.h>
#include <utils/hostosinfo.h>
@@ -156,28 +154,7 @@ void AbstractMaemoDeployByMountService::doDeviceSetup()
{
QTC_ASSERT(m_state == Inactive, return);
- if (deviceConfiguration()->machineType() == IDevice::Hardware) {
- handleDeviceSetupDone(true);
- return;
- }
-
- if (MaemoQemuManager::instance().qemuIsRunning()) {
- handleDeviceSetupDone(true);
- return;
- }
-
- MaemoQemuRuntime rt;
- const int qtId = QtSupport::QtProfileInformation::qtVersionId(profile());
- if (MaemoQemuManager::instance().runtimeForQtVersion(qtId, &rt)) {
- MaemoQemuManager::instance().startRuntime();
- emit errorMessage(tr("Cannot deploy: Qemu was not running. "
- "It has now been started up for you, but it will take "
- "a bit of time until it is ready. Please try again then."));
- } else {
- emit errorMessage(tr("Cannot deploy: You want to deploy to Qemu, but it is not enabled "
- "for this Qt version."));
- }
- handleDeviceSetupDone(false);
+ handleDeviceSetupDone(true);
}
void AbstractMaemoDeployByMountService::stopDeviceSetup()