shift-shell/components/quicksettingsplugin
Sebastian Kügler c3ae6650ed quicksettings: fix dynamic removal
When a quicksetting is changed to not available, it should be removed
from the model. The proper API call to beginRemoveRows() has the index
of the last removed element as last parameter and will fail with null.

This patch makes dynamically removing a quicksetting by changing the
available property to false.

Signed-off-by: Sebastian Kügler <sebas@kde.org>
2025-08-18 10:59:49 +02:00
..
CMakeLists.txt Drop unused link libraries 2024-10-31 08:41:01 +00:00
paginatemodel.cpp paginatemodel: Avoid to disconnect if model is the same because it's not reconnected after 2025-06-16 15:04:32 -04:00
paginatemodel.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
quicksetting.cpp quicksettings: Extract out from mobileshell into separate plugin 2023-03-16 19:44:36 -07:00
quicksetting.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
quicksettingsconfig.cpp Remove unused slot params 2024-02-16 13:37:26 +01:00
quicksettingsconfig.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
quicksettingsmodel.cpp quicksettings: fix dynamic removal 2025-08-18 10:59:49 +02:00
quicksettingsmodel.h Use synchrone component loading instead of asynchrone to avoid concurrent bug 2025-06-15 00:59:09 +02:00
savedquicksettings.cpp Do not store KPluginMetaData as pointer 2023-10-17 05:14:04 +00:00
savedquicksettings.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
savedquicksettingsmodel.cpp Drop semicolon after Q_UNUSED() for consistency through the repo 2024-09-28 06:31:00 +00:00
savedquicksettingsmodel.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00