[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-2/konversation/konversation
From: Peter Simonsson <psn () linux ! se>
Date: 2003-11-16 22:00:58
[Download RAW message or body]
CVS commit by psn:
Fix event handling for the systray notification
M +6 -3 konversationmainwindow.cpp 1.50
M +1 -1 konversationmainwindow.h 1.26
--- kdeextragear-2/konversation/konversation/konversationmainwindow.cpp #1.49:1.50
@@ -742,8 +742,11 @@ void KonversationMainWindow::addIRCColor
}
-void KonversationMainWindow::showEvent(QShowEvent* e)
+bool KonversationMainWindow::event(QEvent* e)
{
- KMainWindow::showEvent(e);
+ if(e->type() == QEvent::WindowActivate) {
emit endNotification(getViewContainer()->currentPage());
+ }
+
+ return KMainWindow::event(e);
}
--- kdeextragear-2/konversation/konversation/konversationmainwindow.h #1.25:1.26
@@ -145,5 +145,5 @@ class KonversationMainWindow : public KM
void deleteDccPanel();
- virtual void showEvent(QShowEvent* e);
+ virtual bool event(QEvent* e);
LedTabWidget* getViewContainer();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic