forked from qt-creator/qt-creator
Maemo: Always deploy via SFTP upload.
The UTFS stuff does not seem to be reliable enough at the moment. Deploying is too important to take that risk. Reviewed-by: kh1 Reviewed-by: Leena Miettinen
This commit is contained in:
@@ -167,8 +167,11 @@ bool MaemoRunControlFactory::canRun(RunConfiguration *runConfiguration,
|
||||
|| maemoRunConfig->remoteExecutableFilePath().isEmpty())
|
||||
return false;
|
||||
const int freePortCount = maemoRunConfig->freePorts().count();
|
||||
if (freePortCount == 0)
|
||||
|
||||
#if 0 // TODO: Enable if deployment-via-mount is enabled again, otherwise throw away.
|
||||
if (maemoRunConfig->toolchain()->allowsRemoteMounts() && freePortCount == 0)
|
||||
return false;
|
||||
#endif
|
||||
const int mountDirCount
|
||||
= maemoRunConfig->toolchain()->allowsRemoteMounts()
|
||||
? maemoRunConfig->remoteMounts()->validMountSpecificationCount()
|
||||
|
||||
Reference in New Issue
Block a user