From 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 20:12:53 +0300 Subject: end of ME_OPT_INITIALISE related zoo in another plugins --- plugins/AutoShutdown/src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/AutoShutdown/src/main.cpp') diff --git a/plugins/AutoShutdown/src/main.cpp b/plugins/AutoShutdown/src/main.cpp index f9f7d81ce6..9fa00794ef 100644 --- a/plugins/AutoShutdown/src/main.cpp +++ b/plugins/AutoShutdown/src/main.cpp @@ -74,15 +74,14 @@ int CMPlugin::Load() InitShutdownSvc(); InitWatcher(); /* before InitSettingsDlg() */ InitSettingsDlg(); - InitOptions(); + HookEvent(ME_OPT_INITIALISE, OptInit); HookEvent(ME_SYSTEM_MODULESLOADED, ShutdownModulesLoaded); return 0; } int CMPlugin::Unload() { - UninitOptions(); UninitWatcher(); /* before UninitFrame() */ UninitFrame(); UninitShutdownSvc(); -- cgit v1.2.3