diff options
author | deva <deva> | 2011-02-08 09:19:14 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-08 09:19:14 +0000 |
commit | a65a5d1594d09d575d9e835d684eb52675341054 (patch) | |
tree | 8829f4ffbb14b7f667fa054758e607b09fff0121 /client/macrowindow.cc | |
parent | 9d1dc91e1e2c11ea6df8e163b0e43f1dd43655d5 (diff) |
Scroll into view when a new macro is expanded.
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r-- | client/macrowindow.cc | 5 |
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; |