forked from qt-creator/qt-creator
Port from QLatin1Literal to QLatin1String
QLatin1Literal is an undocumented and deprecated typedef for QLatin1String, just use the original. Change-Id: I42347a2128e7b4280aaafeea5ebdee5a1b623c82 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -52,7 +52,7 @@ static Abis detectTargetAbis(const FilePath &sdpPath)
|
||||
if (!sdpPath.fileName().isEmpty()) {
|
||||
QList<Utils::EnvironmentItem> environment = QnxUtils::qnxEnvironment(sdpPath.toString());
|
||||
foreach (const Utils::EnvironmentItem &item, environment) {
|
||||
if (item.name == QLatin1Literal("QNX_TARGET"))
|
||||
if (item.name == QLatin1String("QNX_TARGET"))
|
||||
qnxTarget = FilePath::fromString(item.value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user