forked from qt-creator/qt-creator
Use isEmpty() vs "count() == 0"
Change-Id: I9b3103fbc4e881693039c1a5e81f0d2b97803978 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Laurent Montel
parent
65e22d5a0a
commit
f3c8a2db1e
@@ -604,7 +604,7 @@ void Parser::setFileList(const QStringList &fileList)
|
||||
|
||||
void Parser::removeFiles(const QStringList &fileList)
|
||||
{
|
||||
if (fileList.count() == 0)
|
||||
if (fileList.isEmpty())
|
||||
return;
|
||||
|
||||
QWriteLocker lockerPrj(&d->prjLocker);
|
||||
|
||||
Reference in New Issue
Block a user