Skip to content
Snippets Groups Projects
Commit 2fba280d authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Fix detection of default MADDE target.

parent b8186493
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,8 @@ bool MaemoManager::isValidMaemoQtVersion(const QtVersion *version) const
madAdminProc.setReadChannel(QProcess::StandardOutput);
while (madAdminProc.canReadLine()) {
const QByteArray &line = madAdminProc.readLine();
if (line.contains(target) && line.contains("(installed)"))
if (line.contains(target)
&& (line.contains("(installed)") || line.contains("(default)")))
return true;
}
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment