diff options
author | George Hazan <ghazan@miranda.im> | 2017-10-15 14:03:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-10-15 14:03:04 +0300 |
commit | 73c3207950044c5156bbb74ca2f60fc5b5b2d81a (patch) | |
tree | 57d0db73aefa91d884de5fce149410a17ec9034c /plugins/StatusManager/src/StartupStatus | |
parent | 551a43bcc498123ecfabb5951f858b824d54befd (diff) |
unused service removed
Diffstat (limited to 'plugins/StatusManager/src/StartupStatus')
-rw-r--r-- | plugins/StatusManager/src/StartupStatus/ss_profiles.cpp | 2 | ||||
-rw-r--r-- | plugins/StatusManager/src/StartupStatus/startupstatus.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp b/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp index 275883d9ce..ba056510f5 100644 --- a/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp +++ b/plugins/StatusManager/src/StartupStatus/ss_profiles.cpp @@ -206,7 +206,7 @@ INT_PTR LoadAndSetProfile(WPARAM iProfileNo, LPARAM) if (!db_get_b(NULL, SSMODULENAME, setting, 0)) CallService(MS_CS_SETSTATUSEX, (WPARAM)&profileSettings, 0); else - CallService(MS_CS_SHOWCONFIRMDLGEX, (WPARAM)&profileSettings, (LPARAM)db_get_dw(NULL, SSMODULENAME, SETTING_DLGTIMEOUT, 5)); + ShowConfirmDialogEx((TProtoSettings*)&profileSettings, db_get_dw(NULL, SSMODULENAME, SETTING_DLGTIMEOUT, 5)); } // add timer here diff --git a/plugins/StatusManager/src/StartupStatus/startupstatus.cpp b/plugins/StatusManager/src/StartupStatus/startupstatus.cpp index ccfa0819a7..fb2b87ea0f 100644 --- a/plugins/StatusManager/src/StartupStatus/startupstatus.cpp +++ b/plugins/StatusManager/src/StartupStatus/startupstatus.cpp @@ -421,7 +421,7 @@ int SSModuleLoaded(WPARAM, LPARAM) // set the status! if (showDialogOnStartup || db_get_b(NULL, SSMODULENAME, SETTING_SHOWDIALOG, 0)) - CallService(MS_CS_SHOWCONFIRMDLGEX, (WPARAM)&startupSettings, db_get_dw(NULL, SSMODULENAME, SETTING_DLGTIMEOUT, 5)); + ShowConfirmDialogEx((TProtoSettings*)&startupSettings, db_get_dw(NULL, SSMODULENAME, SETTING_DLGTIMEOUT, 5)); else if (db_get_b(NULL, SSMODULENAME, SETTING_SETPROFILE, 1)) { // set hooks for override if (db_get_b(NULL, SSMODULENAME, SETTING_OVERRIDE, 1)) { |