summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-05 19:32:12 +0200
committerMontel Laurent <[email protected]>2017-06-05 19:32:12 +0200
commite04fddfefd788a5d6fe2082ac39e2301a2afbb48 (patch)
tree0a3cbeee32424da9b25cbc77c7fa8db54eda1d89
parent0d41e20504de93f3f500223e8cb077ad961a152b (diff)
Add Q_FALLTHROUGH
-rw-r--r--src/kleo/dn.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kleo/dn.cpp b/src/kleo/dn.cpp
index 6353707..cfd9568 100644
--- a/src/kleo/dn.cpp
+++ b/src/kleo/dn.cpp
@@ -298,6 +298,9 @@ static QString dn_escape(const QString &s)
case ';':
result += QLatin1Char('\\');
// fall through
+#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
+ Q_FALLTHROUGH();
+#endif
default:
result += ch;
}