diff options
Diffstat (limited to 'src/config.cpp')
| -rw-r--r-- | src/config.cpp | 3 |
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())); |
