forked from qt-creator/qt-creator
Maemo: Re-enable package installation via UTFS mount.
This commit is contained in:
@@ -422,11 +422,9 @@ void MaemoDeployStep::handleUnmounted()
|
||||
|
||||
switch (m_unmountState) {
|
||||
case OldDirsUnmount:
|
||||
#if 0 // TODO: Disabled for 2.1. Re-enable later or throw away for good.
|
||||
if (toolChain()->allowsRemoteMounts())
|
||||
setupMount();
|
||||
else
|
||||
#endif
|
||||
prepareSftpConnection();
|
||||
break;
|
||||
case CurrentDirsUnmount:
|
||||
|
||||
@@ -168,10 +168,8 @@ bool MaemoRunControlFactory::canRun(RunConfiguration *runConfiguration,
|
||||
return false;
|
||||
const int freePortCount = maemoRunConfig->freePorts().count();
|
||||
|
||||
#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()
|
||||
|
||||
@@ -55,10 +55,7 @@ public:
|
||||
enum MaemoVersion { Maemo5, Maemo6 };
|
||||
MaemoVersion version() const;
|
||||
bool allowsRemoteMounts() const { return version() == Maemo5; }
|
||||
|
||||
// TODO: Perhaps re-enable when we deploy via UTFS again, otherwise throw the whole function away.
|
||||
bool allowsPackagingDisabling() const { return /* version() == Maemo5 */ false; }
|
||||
|
||||
bool allowsPackagingDisabling() const { return version() == Maemo5; }
|
||||
bool allowsQmlDebugging() const { return version() == Maemo6; }
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user