From a65a5d1594d09d575d9e835d684eb52675341054 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 8 Feb 2011 09:19:14 +0000 Subject: Scroll into view when a new macro is expanded. --- client/macrowindow.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/macrowindow.cc') diff --git a/client/macrowindow.cc b/client/macrowindow.cc index 369f71f..4ee5404 100644 --- a/client/macrowindow.cc +++ b/client/macrowindow.cc @@ -46,8 +46,9 @@ extern QString host; extern quint16 port; MacroWindow::MacroWindow(NetCom &n, QDomNode &xml_doc, QString templ, - bool is_static, bool compact) - : Collapser(), netcom(n) + bool is_static, bool compact, + QScrollArea *scrollarea) + : Collapser(NULL, NULL, true, compact?NULL:scrollarea), netcom(n) { this->is_static = is_static; -- cgit v1.2.3