mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #937 Resolved clazy warnings: miscellaneous.
This commit is contained in:
@@ -44,7 +44,7 @@ namespace BlackMisc
|
||||
while (!ts.atEnd())
|
||||
{
|
||||
QString pathToCheck = ts.readLine();
|
||||
if (QFileInfo(pathToCheck).exists()) { lastLine = pathToCheck; }
|
||||
if (QFileInfo::exists(pathToCheck)) { lastLine = pathToCheck; }
|
||||
}
|
||||
return lastLine;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user