summaryrefslogtreecommitdiff
path: root/src/plugins/madde/maemoglobal.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-07-27 10:43:31 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2012-07-30 15:03:40 +0200
commitec6f0db8480a89b2b25df292a6279699628c1484 (patch)
tree6814ca2d7225d4122a1695ecb1040d297d5a6ab2 /src/plugins/madde/maemoglobal.cpp
parent7b8eafc671bdcdb07269f1ede781bb2f101ae66c (diff)
downloadqt-creator-ec6f0db8480a89b2b25df292a6279699628c1484.tar.gz
Madde: Make Maemo deployment module more self-contained.
Its old interface made outdated assumptions about data flow and would not be able to sensibly partake in higher-level refactorings. Change-Id: I553c64919ba36aae39d876ade73b824f01db2767 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/plugins/madde/maemoglobal.cpp')
-rw-r--r--src/plugins/madde/maemoglobal.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/madde/maemoglobal.cpp b/src/plugins/madde/maemoglobal.cpp
index 9b9be32d71..ab6f8c6002 100644
--- a/src/plugins/madde/maemoglobal.cpp
+++ b/src/plugins/madde/maemoglobal.cpp
@@ -176,6 +176,11 @@ QString MaemoGlobal::maddeRoot(const QString &qmakePath)
return dir.absolutePath();
}
+Utils::FileName MaemoGlobal::maddeRoot(const Profile *profile)
+{
+ return SysRootProfileInformation::sysRoot(profile).parentDir().parentDir();
+}
+
QString MaemoGlobal::targetRoot(const QString &qmakePath)
{
#ifdef Q_OS_WIN