1 From f6c446cf6fab2edbd2606b4c6100903e9437362a Mon Sep 17 00:00:00 2001
2 From: Thomas Tuegel <ttuegel@mailbox.org>
3 Date: Sun, 25 Apr 2021 08:01:02 -0500
4 Subject: [PATCH 2/3] akonadi timestamps
7 src/server/storage/dbconfigmysql.cpp | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
10 diff --git a/src/server/storage/dbconfigmysql.cpp b/src/server/storage/dbconfigmysql.cpp
11 index 3550f9d..e9e8887 100644
12 --- a/src/server/storage/dbconfigmysql.cpp
13 +++ b/src/server/storage/dbconfigmysql.cpp
14 @@ -241,8 +241,7 @@ bool DbConfigMysql::startInternalServer()
15 bool confUpdate = false;
16 QFile actualFile(actualConfig);
17 // update conf only if either global (or local) is newer than actual
18 - if ((QFileInfo(globalConfig).lastModified() > QFileInfo(actualFile).lastModified())
19 - || (QFileInfo(localConfig).lastModified() > QFileInfo(actualFile).lastModified())) {
21 QFile globalFile(globalConfig);
22 QFile localFile(localConfig);
23 if (globalFile.open(QFile::ReadOnly) && actualFile.open(QFile::WriteOnly)) {