forked from qt-creator/qt-creator
ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: I84d9526449b8ca6cdcf8296e353c5d892d5f942d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
5f10acd5c9
commit
e9dae735dc
@@ -60,7 +60,7 @@ public:
|
||||
|
||||
static QString createId(const QString &id)
|
||||
{
|
||||
QString newId = id.left(id.indexOf(':'));
|
||||
QString newId = id.left(id.indexOf(QLatin1Char(':')));
|
||||
newId.append(QLatin1Char(':') + QUuid::createUuid().toString());
|
||||
return newId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user