Commit b69a6e8c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We depend against master

parent dd117c0f
Pipeline #38391 passed with stage
in 16 minutes and 57 seconds
......@@ -1216,11 +1216,7 @@ QStringList checkRtcWakeConfig(bool checkEventExists)
{
KConfigGroup config(KSharedConfig::openConfig(), "General");
const QStringList params = config.readEntry("RtcWake", QStringList());
#if KALARMCAL_VERSION >= QT_VERSION_CHECK(5,12,1)
if (params.count() == 3 && params[2].toLongLong() > KADateTime::currentUtcDateTime().toSecsSinceEpoch())
#else
if (params.count() == 3 && params[2].toUInt() > KADateTime::currentUtcDateTime().toTime_t())
#endif
{
if (checkEventExists)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment