summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_events.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-30 13:57:53 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-30 13:57:53 +0000
commitf65741787bee7c5d143d733efb32b7ec3452edc6 (patch)
treeabde66c5c4b96e96dbcc9c0b66906d0ba989e2d4 /protocols/Steam/src/steam_events.cpp
parent98ef126036ee5fdef2155dc15e4e08a7f7eaf534 (diff)
Steam: fixed options
git-svn-id: http://svn.miranda-ng.org/main/trunk@14457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_events.cpp')
-rw-r--r--protocols/Steam/src/steam_events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp
index 2e91508915..69dc630b86 100644
--- a/protocols/Steam/src/steam_events.cpp
+++ b/protocols/Steam/src/steam_events.cpp
@@ -30,11 +30,11 @@ int CSteamProto::OnOptionsInit(WPARAM wParam, LPARAM)
odp.ptszGroup = LPGENT("Network");
odp.ptszTab = LPGENT("Account");
- odp.pDialog = new CSteamOptionsMain(this, IDD_OPT_MAIN);
+ odp.pDialog = CSteamOptionsMain::CreateOptionsPage(this);
Options_AddPage(wParam, &odp);
odp.ptszTab = LPGENT("Blocked contacts");
- odp.pDialog = new CSteamOptionsBlockList(this);
+ odp.pDialog = CSteamOptionsBlockList::CreateOptionsPage(this);
Options_AddPage(wParam, &odp);
return 0;
}