Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / kde / akonadi / 0002-akonadi-timestamps.patch
blob1da52dbad0e1733787354a45acbdcbfd508a8831
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
6 ---
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())) {
20 + if (true) {
21 QFile globalFile(globalConfig);
22 QFile localFile(localConfig);
23 if (globalFile.open(QFile::ReadOnly) && actualFile.open(QFile::WriteOnly)) {
24 --
25 2.31.1