forked from qt-creator/qt-creator
Maemo: Move deploying to dedicated deploy step.
Reviewed-by: kh1
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QtCore/QSettings>
|
||||
#include <QtCore/QStringBuilder>
|
||||
#include <QtGui/QDesktopServices>
|
||||
@@ -54,6 +55,11 @@ QString homeDirOnDevice(const QString &uname)
|
||||
: QLatin1String("/home/") + uname;
|
||||
}
|
||||
|
||||
QString remoteSudo()
|
||||
{
|
||||
return QLatin1String("/usr/lib/mad-developer/devrootsh");
|
||||
}
|
||||
|
||||
namespace {
|
||||
const QLatin1String SettingsGroup("MaemoDeviceConfigs");
|
||||
const QLatin1String IdCounterKey("IdCounter");
|
||||
@@ -132,7 +138,8 @@ MaemoDeviceConfig::MaemoDeviceConfig(const QSettings &settings,
|
||||
}
|
||||
|
||||
MaemoDeviceConfig::MaemoDeviceConfig()
|
||||
: internalId(InvalidId)
|
||||
: name(QCoreApplication::translate("MaemoDeviceConfig", "(Invalid device)")),
|
||||
internalId(InvalidId)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user