6a80bb95f7
Properly fixes #10211, wherein the config file was not being loaded because it was considered too old. However, the modification time was being compared against an uninitialized value; the semantics of the uninitialized timestamp probably changed between Qt 5.4 and 5.5.
16 lines
587 B
Diff
16 lines
587 B
Diff
diff --git a/src/common/ConfigReader.cpp b/src/common/ConfigReader.cpp
|
|
index 6618455..5356e76 100644
|
|
--- a/src/common/ConfigReader.cpp
|
|
+++ b/src/common/ConfigReader.cpp
|
|
@@ -136,11 +136,6 @@ namespace SDDM {
|
|
QString currentSection = QStringLiteral(IMPLICIT_SECTION);
|
|
|
|
QFile in(m_path);
|
|
- QDateTime modificationTime = QFileInfo(in).lastModified();
|
|
- if (modificationTime <= m_fileModificationTime) {
|
|
- return;
|
|
- }
|
|
- m_fileModificationTime = modificationTime;
|
|
|
|
in.open(QIODevice::ReadOnly);
|
|
while (!in.atEnd()) {
|