forked from qt-creator/qt-creator
qmljs: improve readability
Change-Id: I110c2b08bcdfc29b310b84378cd3b119ee7f5f91 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -63,7 +63,7 @@ static const char *qtQuickUISuffix = "ui.qml";
|
||||
|
||||
static void maybeAddPath(ViewerContext &context, const Utils::FilePath &path)
|
||||
{
|
||||
if (!path.isEmpty() && !(context.paths.count(path) > 0))
|
||||
if (!path.isEmpty() && (context.paths.count(path) <= 0))
|
||||
context.paths.insert(path);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user