diff options
author | Lionel Chauvin <megabigbug@yahoo.fr> | 2009-08-09 16:36:04 +0200 |
---|---|---|
committer | Lionel Chauvin <megabigbug@yahoo.fr> | 2009-08-09 16:36:04 +0200 |
commit | 4436e874290e2c2b909390d8d1bc3960e90f5e49 (patch) | |
tree | 1588e67e7996c8ac8435b3496f51e96f774e360d /src/mainwindow.cpp | |
parent | Merge commit 'megabigbug/popup' (diff) | |
download | rekonq-4436e874290e2c2b909390d8d1bc3960e90f5e49.tar.xz |
hide popup when focus change
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 15c347c9..cf25e1b7 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -913,6 +913,8 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status) m_popup = new KPassivePopup(this); m_popup->setAutoDelete(true); + connect(Application::instance(), SIGNAL(focusChanged(QWidget*,QWidget*)), m_popup, SLOT(hide())); + QPixmap px; QString pixPath; |