Diffstat (limited to 'noncore/net/opieirc/ircquerytab.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircquerytab.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircquerytab.cpp b/noncore/net/opieirc/ircquerytab.cpp index 21a53dc..a113b04 100644 --- a/noncore/net/opieirc/ircquerytab.cpp +++ b/noncore/net/opieirc/ircquerytab.cpp @@ -23,7 +23,13 @@ IRCQueryTab::IRCQueryTab(IRCPerson *person, IRCServerTab *parentTab, MainWindow m_field->setFocus(); connect(m_field, SIGNAL(returnPressed()), this, SLOT(processCommand())); + connect(m_mainWindow, SIGNAL(updateScroll()), this, SLOT(scrolling())); settingsChanged(); } +void IRCQueryTab::scrolling(){ + m_textview->ensureVisible(0, m_textview->contentsHeight()); +} + + void IRCQueryTab::appendText(QString text) { /* not using append because it creates layout problems */ |