Maemo: Move more functionality into the new target classes.

This commit is contained in:
Christian Kandeler
2011-01-19 11:06:43 +01:00
parent 2ec85cc67a
commit 3a87fdd5f1
10 changed files with 34 additions and 27 deletions

View File

@@ -169,9 +169,8 @@ bool MaemoRunControlFactory::canRun(RunConfiguration *runConfiguration,
return false;
const int freePortCount = maemoRunConfig->freePorts().count();
const QtVersion * const qtVersion
= maemoRunConfig->activeQt4BuildConfiguration()->qtVersion();
const bool remoteMountsAllowed = MaemoGlobal::allowsRemoteMounts(qtVersion);
const bool remoteMountsAllowed
= maemoRunConfig->maemoTarget()->allowsRemoteMounts();
if (remoteMountsAllowed && freePortCount == 0)
return false;
const int mountDirCount