diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-02 20:44:24 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-06-22 03:24:49 +0000 |
commit | 79788e11605cf037b4e8e74f1e17039e4baab6c5 (patch) | |
tree | 5c567383877ee0552b16d513ea9b48e498434150 | |
parent | ba5b4e6ab9b3268916812d67793a043102a408d8 (diff) | |
download | qtwayland-79788e11605cf037b4e8e74f1e17039e4baab6c5.tar.gz |
Add missing break
Found by GCC 7
qwaylandinputmethodeventbuilder.cpp:110:51: warning: this statement may fall through [-Wimplicit-fallthrough=]
Change-Id: Ia3e896da908f42939148fffd14c47fc6058b0933
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
-rw-r--r-- | src/shared/qwaylandinputmethodeventbuilder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/qwaylandinputmethodeventbuilder.cpp b/src/shared/qwaylandinputmethodeventbuilder.cpp index 0e2d1a40..6acf312e 100644 --- a/src/shared/qwaylandinputmethodeventbuilder.cpp +++ b/src/shared/qwaylandinputmethodeventbuilder.cpp @@ -108,6 +108,7 @@ void QWaylandInputMethodEventBuilder::addPreeditStyling(uint32_t index, uint32_t format.setFontUnderline(true); format.setUnderlineStyle(QTextCharFormat::SingleUnderline); m_preeditStyles.append(QInputMethodEvent::Attribute(QInputMethodEvent::TextFormat, index, length, format)); + break; case 5: format.setFontUnderline(true); format.setUnderlineStyle(QTextCharFormat::WaveUnderline); |