forked from qt-creator/qt-creator
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:
committed by
Thomas Hartmann
parent
907a64ac32
commit
c071547aa5
@@ -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