diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-07 15:09:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-07 18:44:33 +0300 |
commit | 0042f7550ab3d69d742c3ef90383fcdff446f850 (patch) | |
tree | 770478eb8fe83c9a41f50db3a399993b4da0f99d /src/mir_app | |
parent | cbceb59a83a41f05b1b1a7812d10bc4940d4d303 (diff) |
splitter data removed from common chat session settings
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_opts.cpp | 7 | ||||
-rw-r--r-- | src/mir_app/src/chat_svc.cpp | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mir_app/src/chat_opts.cpp b/src/mir_app/src/chat_opts.cpp index b10878922e..782a34b82c 100644 --- a/src/mir_app/src/chat_opts.cpp +++ b/src/mir_app/src/chat_opts.cpp @@ -323,13 +323,6 @@ int OptionsInit(void) g_Settings->iWidth = db_get_dw(NULL, CHAT_MODULE, "roomwidth", -1);
g_Settings->iHeight = db_get_dw(NULL, CHAT_MODULE, "roomheight", -1);
- g_Settings->iSplitterX = db_get_w(NULL, CHAT_MODULE, "SplitterX", 105);
- if (g_Settings->iSplitterX <= 50)
- g_Settings->iSplitterX = 105;
- g_Settings->iSplitterY = db_get_w(NULL, CHAT_MODULE, "SplitterY", 90);
- if (g_Settings->iSplitterY <= 65)
- g_Settings->iSplitterY = 90;
-
SkinAddNewSoundEx("ChatMessage", LPGEN("Group chats"), LPGEN("Incoming message"));
SkinAddNewSoundEx("ChatHighlight", LPGEN("Group chats"), LPGEN("Message is highlighted"));
SkinAddNewSoundEx("ChatAction", LPGEN("Group chats"), LPGEN("User has performed an action"));
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp index 7535345d40..3d8317e20f 100644 --- a/src/mir_app/src/chat_svc.cpp +++ b/src/mir_app/src/chat_svc.cpp @@ -234,8 +234,6 @@ EXTERN_C MIR_APP_DLL(GCSessionInfoBase*) Chat_NewSession( si->wStatus = ID_STATUS_ONLINE;
si->iType = iType;
si->ptszName = mir_wstrdup(ptszName);
- si->iSplitterX = g_Settings->iSplitterX;
- si->iSplitterY = g_Settings->iSplitterY;
si->iLogFilterFlags = db_get_dw(NULL, CHAT_MODULE, "FilterFlags", 0x03E0);
si->bFilterEnabled = db_get_b(NULL, CHAT_MODULE, "FilterEnabled", 0);
si->bNicklistEnabled = db_get_b(NULL, CHAT_MODULE, "ShowNicklist", 1);
|