summaryrefslogtreecommitdiff
path: root/src/mir_app/src/FontOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/FontOptions.cpp')
-rw-r--r--src/mir_app/src/FontOptions.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mir_app/src/FontOptions.cpp b/src/mir_app/src/FontOptions.cpp
index 0d3b3a8d24..b818058378 100644
--- a/src/mir_app/src/FontOptions.cpp
+++ b/src/mir_app/src/FontOptions.cpp
@@ -87,51 +87,51 @@ MIR_APP_DLL(void) KillModuleFonts(HPLUGIN pPlugin)
{
for (auto &it : font_id_list.rev_iter())
if (it->pPlugin == pPlugin) {
- font_id_list.remove(font_id_list.indexOf(&it));
+ font_id_list.removeItem(&it);
notifyOptions();
}
for (auto &it : font_id_list_w2.rev_iter())
if (it->pPlugin == pPlugin)
- font_id_list_w2.remove(font_id_list_w2.indexOf(&it));
+ font_id_list_w2.removeItem(&it);
for (auto &it : font_id_list_w3.rev_iter())
if (it->pPlugin == pPlugin)
- font_id_list_w3.remove(font_id_list_w3.indexOf(&it));
+ font_id_list_w3.removeItem(&it);
}
MIR_APP_DLL(void) KillModuleColours(HPLUGIN pPlugin)
{
for (auto &it : colour_id_list.rev_iter())
if (it->pPlugin == pPlugin) {
- colour_id_list.remove(colour_id_list.indexOf(&it));
+ colour_id_list.removeItem(&it);
notifyOptions();
}
for (auto &it : colour_id_list_w2.rev_iter())
if (it->pPlugin == pPlugin)
- colour_id_list_w2.remove(colour_id_list_w2.indexOf(&it));
+ colour_id_list_w2.removeItem(&it);
for (auto &it : colour_id_list_w3.rev_iter())
if (it->pPlugin == pPlugin)
- colour_id_list_w3.remove(colour_id_list_w3.indexOf(&it));
+ colour_id_list_w3.removeItem(&it);
}
MIR_APP_DLL(void) KillModuleEffects(HPLUGIN pPlugin)
{
for (auto &it : effect_id_list.rev_iter())
if (it->pPlugin == pPlugin) {
- effect_id_list.remove(effect_id_list.indexOf(&it));
+ effect_id_list.removeItem(&it);
notifyOptions();
}
for (auto &it : effect_id_list_w2.rev_iter())
if (it->pPlugin == pPlugin)
- effect_id_list_w2.remove(effect_id_list_w2.indexOf(&it));
+ effect_id_list_w2.removeItem(&it);
for (auto &it : effect_id_list_w3.rev_iter())
if (it->pPlugin == pPlugin)
- effect_id_list_w3.remove(effect_id_list_w3.indexOf(&it));
+ effect_id_list_w3.removeItem(&it);
}
/////////////////////////////////////////////////////////////////////////////////////////