Diffstat (limited to 'noncore/net/opieirc/irctab.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/irctab.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/opieirc/irctab.cpp b/noncore/net/opieirc/irctab.cpp index 3351c3b..8e1dc16 100644 --- a/noncore/net/opieirc/irctab.cpp +++ b/noncore/net/opieirc/irctab.cpp @@ -4,2 +4,3 @@ #include "irctab.h" +#include "mainwindow.h" @@ -38 +39,7 @@ int IRCTab::id() { } + +void IRCTab::showEvent( QShowEvent *ev ) { + topLevelWidget()->setCaption( MainWindow::appCaption() + " " + title() ); + QWidget::showEvent( ev ); + emit editFocus(); +} |