summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/ExtraIconGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extraicons/ExtraIconGroup.cpp')
-rw-r--r--src/modules/extraicons/ExtraIconGroup.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/extraicons/ExtraIconGroup.cpp b/src/modules/extraicons/ExtraIconGroup.cpp
index 5da0f4f9b3..696728e4e2 100644
--- a/src/modules/extraicons/ExtraIconGroup.cpp
+++ b/src/modules/extraicons/ExtraIconGroup.cpp
@@ -26,9 +26,7 @@ Boston, MA 02111-1307, USA.
ExtraIconGroup::ExtraIconGroup(const char *_name) :
ExtraIcon(_name), setValidExtraIcon(false), insideApply(false)
{
- char setting[512];
- mir_snprintf(setting, SIZEOF(setting), "%s/%s", MODULE_NAME, _name);
- CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (WPARAM) setting);
+ db_set_resident(MODULE_NAME, _name);
}
ExtraIconGroup::~ExtraIconGroup()