qmljs: fix warning

Change-Id: I69714d6626d9135c5489258346f79b1c4bfbcd19
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tim Jenssen
2022-11-24 19:23:55 +01:00
committed by Thomas Hartmann
parent 907a64ac32
commit c071547aa5

View File

@@ -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);
}