qmljs: improve readability

Change-Id: I110c2b08bcdfc29b310b84378cd3b119ee7f5f91
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tim Jenssen
2022-12-14 16:30:59 +01:00
parent f22a8a42a9
commit 973f74b8a0

View File

@@ -63,7 +63,7 @@ static const char *qtQuickUISuffix = "ui.qml";
static void maybeAddPath(ViewerContext &context, const Utils::FilePath &path) 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); context.paths.insert(path);
} }