forked from qt-creator/qt-creator
Maemo: Support QML debugging.
Could not be tested with actual QML project yet. Reviewed-by: kh1
This commit is contained in:
@@ -169,7 +169,7 @@ bool MaemoRunControlFactory::canRun(RunConfiguration *runConfiguration,
|
||||
const int mountDirCount
|
||||
= maemoRunConfig->remoteMounts()->validMountSpecificationCount();
|
||||
if (mode == ProjectExplorer::Constants::DEBUGMODE)
|
||||
return freePortCount > mountDirCount;
|
||||
return freePortCount > mountDirCount + runConfiguration->useQmlDebugger();
|
||||
if (mode == ProjectExplorer::Constants::RUNMODE)
|
||||
return freePortCount >= mountDirCount;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user