diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-09-13 11:14:07 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-09-13 17:51:59 +0000 |
commit | fccfbf254e8b26a622420813a26b31edece343ca (patch) | |
tree | d683f0b34cb78ddd80d06df0e2dc55f1efe157c6 /ui | |
parent | 2d466c0419817f32b2428a8cc4bc99c760dfaadc (diff) | |
download | wireshark-fccfbf254e8b26a622420813a26b31edece343ca.tar.gz |
Stock icon (Qt): Missing break in switch (CID 1323928)
Add a "// Fall through" comment to squelch a Coverity warning. Hopefully
the regex described at
http://security.coverity.com/blog/2013/Sep/gimme-a-break.html
is case-insensitive.
Change-Id: I10be63a77ed1e5e0c8000bad0c1b8d08db8b0951
Reviewed-on: https://code.wireshark.org/review/10509
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/stock_icon_tool_button.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/stock_icon_tool_button.cpp b/ui/qt/stock_icon_tool_button.cpp index fe0a6e7e39..d29d818b26 100644 --- a/ui/qt/stock_icon_tool_button.cpp +++ b/ui/qt/stock_icon_tool_button.cpp @@ -81,6 +81,7 @@ bool StockIconToolButton::event(QEvent *event) case QEvent::Leave: if (leave_timer_ > 0) killTimer(leave_timer_); leave_timer_ = 0; + // Fall through case QEvent::MouseButtonRelease: setIconMode(); break; |