forked from qt-creator/qt-creator
SdkTool: Use Qt Creator doctypes
Simplify filename conversion while at it Change-Id: I0a7473aa42626a04214887f1cc82abe536233a78 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
49986d90fc
commit
382b1d43eb
@@ -84,7 +84,7 @@ bool RmQtOperation::setArguments(const QStringList &args)
|
||||
|
||||
int RmQtOperation::execute() const
|
||||
{
|
||||
QVariantMap map = load(QLatin1String("qtversion"));
|
||||
QVariantMap map = load(QLatin1String("QtVersions"));
|
||||
if (map.isEmpty())
|
||||
return 0;
|
||||
|
||||
@@ -92,7 +92,7 @@ int RmQtOperation::execute() const
|
||||
if (result == map)
|
||||
return 2;
|
||||
|
||||
return save(result, QLatin1String("qtversion")) ? 0 : 3;
|
||||
return save(result, QLatin1String("QtVersions")) ? 0 : 3;
|
||||
}
|
||||
|
||||
#ifdef WITH_TESTS
|
||||
|
||||
Reference in New Issue
Block a user