summaryrefslogtreecommitdiff
path: root/src/plugins/madde/maemoglobal.cpp
diff options
context:
space:
mode:
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