diff --git a/src/core/cache.cpp b/src/core/cache.cpp --- a/src/core/cache.cpp +++ b/src/core/cache.cpp @@ -65,7 +65,9 @@ QFile f(registryFile); if (!f.open(QIODevice::ReadOnly | QIODevice::Text)) { - qWarning() << "The file " << registryFile << " could not be opened."; + if (QFileInfo::exists(registryFile)) { + qWarning() << "The file " << registryFile << " could not be opened."; + } return; }