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 81e6c56b authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Add Q_FALLTHROUGH() to supress compiler warning

parent a441acab
......@@ -98,8 +98,10 @@ QVector<Headers::contentEncoding> encodingsForData(const QByteArray &data)
switch (cf.type()) {
case CharFreq::SevenBitText:
allowed << Headers::CE7Bit;
Q_FALLTHROUGH();
case CharFreq::EightBitText:
allowed << Headers::CE8Bit;
Q_FALLTHROUGH();
case CharFreq::SevenBitData:
if (cf.printableRatio() > 5.0 / 6.0) {
// let n the length of data and p the number of printable chars.
......
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