summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/hdr/modern_defsettings.h1
-rw-r--r--plugins/Clist_modern/src/modern_skinopt.cpp12
2 files changed, 5 insertions, 8 deletions
diff --git a/plugins/Clist_modern/src/hdr/modern_defsettings.h b/plugins/Clist_modern/src/hdr/modern_defsettings.h
index 00017423d8..003a5be66c 100644
--- a/plugins/Clist_modern/src/hdr/modern_defsettings.h
+++ b/plugins/Clist_modern/src/hdr/modern_defsettings.h
@@ -30,7 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#pragma once
-#define SETTING_ENABLESKINEDITOR_DEFAULT 0 //"ModernData", "EnableSkinEditor"
#define SETTING_TOOLWINDOW_DEFAULT 1 //"CList","ToolWindow"
#define SETTING_ONTOP_DEFAULT 0 //"CList","OnTop"
#define SETTING_MIN2TRAY_DEFAULT 1 //"CList","Min2Tray"
diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp
index 5d7f0955e1..85733d4bfd 100644
--- a/plugins/Clist_modern/src/modern_skinopt.cpp
+++ b/plugins/Clist_modern/src/modern_skinopt.cpp
@@ -53,19 +53,17 @@ int SkinOptInit(WPARAM wParam, LPARAM lParam)
odp.position = -200000000;
odp.hInstance = g_hInst;
odp.pfnDlgProc = DlgSkinOpts;
- odp.pszTemplate = MAKEINTRESOURCEA( IDD_OPT_SKIN );
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKIN);
odp.ptszGroup = LPGENT("Skins");
odp.ptszTitle = LPGENT("Contact list");
odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
odp.ptszTab = LPGENT("Load/Save");
Options_AddPage(wParam, &odp);
- if ( db_get_b( NULL, "ModernData", "EnableSkinEditor", SETTING_ENABLESKINEDITOR_DEFAULT )) {
- odp.pfnDlgProc = DlgSkinEditorOpts;
- odp.pszTemplate = MAKEINTRESOURCEA( IDD_OPT_SKINEDITOR );
- odp.ptszTab = LPGENT("Object editor");
- Options_AddPage(wParam, &odp);
- }
+ odp.pfnDlgProc = DlgSkinEditorOpts;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKINEDITOR);
+ odp.ptszTab = LPGENT("Object editor");
+ Options_AddPage(wParam, &odp);
}
return 0;
}