diff --git a/src/plugins/qtsupport/baseqtversion.cpp b/src/plugins/qtsupport/baseqtversion.cpp index 603a19aff5f..13bab8c6f9c 100644 --- a/src/plugins/qtsupport/baseqtversion.cpp +++ b/src/plugins/qtsupport/baseqtversion.cpp @@ -1228,17 +1228,17 @@ void BaseQtVersionPrivate::updateVersionInfo() } } const QString qtInstallDocs = q->docsPath().toString(); - if (!qtInstallDocs.isNull()) { + if (!qtInstallDocs.isEmpty()) { if (QFileInfo::exists(qtInstallDocs)) m_hasDocumentation = true; } const QString qtInstallExamples = q->examplesPath().toString(); - if (!qtInstallExamples.isNull()) { + if (!qtInstallExamples.isEmpty()) { if (QFileInfo::exists(qtInstallExamples)) m_hasExamples = true; } const QString qtInstallDemos = q->demosPath().toString(); - if (!qtInstallDemos.isNull()) { + if (!qtInstallDemos.isEmpty()) { if (QFileInfo::exists(qtInstallDemos)) m_hasDemos = true; }