summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
authordeva <deva>2011-02-08 09:19:14 +0000
committerdeva <deva>2011-02-08 09:19:14 +0000
commita65a5d1594d09d575d9e835d684eb52675341054 (patch)
tree8829f4ffbb14b7f667fa054758e607b09fff0121 /client/macrowindow.cc
parent9d1dc91e1e2c11ea6df8e163b0e43f1dd43655d5 (diff)
Scroll into view when a new macro is expanded.
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r--client/macrowindow.cc5
1 files changed, 3 insertions, 2 deletions
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;