aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-24 17:50:47 +0200
committerDanilo M. <danix@danix.xyz>2026-09-24 17:50:47 +0200
commitff40d2a6dffdf234ade8bc4a5faa7624e58d5379 (patch)
treecf7b2469957db7d6d602cd4532263750eecdb9c4 /src/config.cpp
parent7494ce76f1eefc2a9a2112d2f2ffec4709d90e08 (diff)
downloadqtmaildir-ff40d2a6dffdf234ade8bc4a5faa7624e58d5379.tar.gz
qtmaildir-ff40d2a6dffdf234ade8bc4a5faa7624e58d5379.zip
fix: drop orphaned overrides when a series stops, plus review minors
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 23c08f7..14d7775 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -303,6 +303,9 @@ void Config::load(const QString &path)
const int value = calDelay.toString().toInt(&ok);
if (ok && value >= 0)
m_calendarSyncDelayMs = value;
+ else if (ok)
+ addProblem(tr("Calendar sync delay %1 is out of range; using the default.")
+ .arg(calDelay.toString()));
else
addProblem(tr("Calendar sync delay '%1' is not a number; using the default.")
.arg(calDelay.toString()));