Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit bb5af739 authored by Laurent Montel's avatar Laurent Montel 😁

Remove unused check now

parent ecccbc98
......@@ -463,24 +463,16 @@ void AlarmDialog::suspend()
switch (mSuspendUnit->currentIndex()) {
case 3: // weeks
unit *= 7;
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
case 2: // days
unit *= 24;
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
case 1: // hours
unit *= 60;
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
case 0: // minutes
unit *= 60;
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
default:
break;
}
......
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