summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/sr_frame.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/QuickSearch/sr_frame.pas b/plugins/QuickSearch/sr_frame.pas
index 2ab6803c66..44cc51bb60 100644
--- a/plugins/QuickSearch/sr_frame.pas
+++ b/plugins/QuickSearch/sr_frame.pas
@@ -155,7 +155,7 @@ begin
hbr:=0;
if parent=0 then
- parent:=CallService(MS_CLUI_GETHWND,0,0);
+ parent:=cli^.hwndContactList;
if FrameWnd=0 then
FrameWnd:=CreateDialog(hInstance,MAKEINTRESOURCE(IDD_FRAME),parent,@QSFrameProc);
@@ -181,7 +181,7 @@ begin
begin
CallService(MS_CLIST_FRAMES_UPDATEFRAME,FrameId, FU_FMPOS);
- wnd:=CallService(MS_CLUI_GETHWND{MS_CLUI_GETHWNDTREE},0,0);
+ wnd:=cli^.hwndContactList;
tmp:=SendMessage(wnd,CLM_GETEXSTYLE,0,0);
SendMessage(wnd,CLM_SETEXSTYLE,tmp or CLS_EX_SHOWSELALWAYS,0);