[vlc-commits] [Git][videolan/vlc][master] qt: systempalette: fix unwanted fall-through

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Nov 15 10:45:11 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
12366005 by Alexandre Janniaux at 2022-11-15T10:24:27+00:00
qt: systempalette: fix unwanted fall-through

`format` is set in each case from the switch, so fall-through is a typo
here.

- - - - -


1 changed file:

- modules/gui/qt/style/systempalette.cpp


Changes:

=====================================
modules/gui/qt/style/systempalette.cpp
=====================================
@@ -225,8 +225,10 @@ QImage ExternalPaletteImpl::getCSDImage(vlc_qt_theme_csd_button_type type, vlc_q
         break;
     case VLC_CODEC_RGBA:
         format = QImage::Format_RGBA8888_Premultiplied;
+        break;
     case VLC_CODEC_RGB24:
         format = QImage::Format_RGB888;
+        break;
     default:
         msg_Err(m_ctx->getIntf(), "unexpected image format from theme provider");
         break;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/12366005da219c8f7e37f4f6b7093ef136a506ee

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/12366005da219c8f7e37f4f6b7093ef136a506ee
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list