Skip to content
Commit afc3bf7f authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

Add missing break statement to switch-case

This is the last and only build-time warning from compiler:

[11/23] Building CXX object src/CMakeFiles/kcm_sddm.dir/themesmodel.cpp.o
/kde/src/plasma/sddm-kcm/src/themesmodel.cpp: In member function ‘virtual QVariant ThemesModel::data(const QModelIndex&, int) const’:
/kde/src/plasma/sddm-kcm/src/themesmodel.cpp:96:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
   96 |         if (metadata.supportsBackground()) {
      |         ^~
/kde/src/plasma/sddm-kcm/src/themesmodel.cpp:99:5: note: here
   99 |     case DeletableRole:
      |     ^~~~
parent f157af44
Pipeline #304485 passed with stage
in 3 minutes and 30 seconds
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