summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-05 18:50:08 +0200
committerMontel Laurent <[email protected]>2017-06-05 18:50:08 +0200
commit0d41e20504de93f3f500223e8cb077ad961a152b (patch)
treeb67a3f6be94fb9a75acde318511ebb595a662c72
parente7c8a3a44f5d091dd971c249276893c6793d6c41 (diff)
Use Q_FALLTHROUGH
-rw-r--r--src/utils/formatting.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/formatting.cpp b/src/utils/formatting.cpp
index b1ae391..b2eff93 100644
--- a/src/utils/formatting.cpp
+++ b/src/utils/formatting.cpp
@@ -592,6 +592,9 @@ QString Formatting::validityShort(const UserID::Signature &sig)
return i18nc("good/valid signature", "good");
}
}
+#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
+ Q_FALLTHROUGH();
+#endif
// fall through:
case UserID::Signature::GeneralError:
return i18n("invalid");