From ec6f0db8480a89b2b25df292a6279699628c1484 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 27 Jul 2012 10:43:31 +0200 Subject: 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 --- src/plugins/madde/maemoglobal.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/madde/maemoglobal.cpp') 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 -- cgit v1.2.1