forked from qt-creator/qt-creator
Maemo: Display OS type in device configuration widget.
This commit is contained in:
@@ -289,6 +289,18 @@ QStringList MaemoGlobal::targetArgs(const QtVersion *qtVersion, bool useTarget)
|
||||
return args;
|
||||
}
|
||||
|
||||
QString MaemoGlobal::maemoVersionToString(MaemoVersion version)
|
||||
{
|
||||
switch (version) {
|
||||
case Maemo5: return QLatin1String("Maemo 5 (Fremantle)");
|
||||
case Maemo6: return QLatin1String("Maemo 6 (Harmattan)");
|
||||
case Meego: return QLatin1String("Meego");
|
||||
}
|
||||
Q_ASSERT(false);
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
||||
MaemoGlobal::FileUpdate::FileUpdate(const QString &fileName)
|
||||
: m_fileName(fileName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user