Commit c9437591 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QFileInfo::exists(...) static method here

(cherry picked from commit 232b7b89)
parent 7d2ad8ca
......@@ -156,7 +156,7 @@ void LocalDataBaseManager::initialize()
}
if (!d->mDataBaseOk) {
qCDebug(WEBENGINEVIEWER_LOG) << "Start to create database";
if (!QFile(databaseFullPath()).exists()) {
if (!QFileInfo::exists(databaseFullPath())) {
downloadFullDataBase();
} else {
const uint now = QDateTime::currentDateTime().toTime_t();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment