summaryrefslogtreecommitdiffstats
path: root/tools/porting/src/portingrules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/porting/src/portingrules.cpp')
-rw-r--r--tools/porting/src/portingrules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/porting/src/portingrules.cpp b/tools/porting/src/portingrules.cpp
index 4931064..cd29403 100644
--- a/tools/porting/src/portingrules.cpp
+++ b/tools/porting/src/portingrules.cpp
@@ -189,7 +189,7 @@ void PortingRules::parseXml(QString fileName)
QString includeFile = xml[QLatin1String("Rules")][QLatin1String("Include")].text();
- if(includeFile != QString()) {
+ if(!includeFile.isNull()) {
QString resolvedIncludeFile = resolveFileName(fileName, includeFile);
if (!resolvedIncludeFile.isEmpty())
parseXml(resolvedIncludeFile);