summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Chauvin <megabigbug@yahoo.fr>2009-08-09 16:36:04 +0200
committerLionel Chauvin <megabigbug@yahoo.fr>2009-08-09 16:36:04 +0200
commit4436e874290e2c2b909390d8d1bc3960e90f5e49 (patch)
tree1588e67e7996c8ac8435b3496f51e96f774e360d
parentMerge commit 'megabigbug/popup' (diff)
downloadrekonq-4436e874290e2c2b909390d8d1bc3960e90f5e49.tar.xz
hide popup when focus change
-rw-r--r--src/mainwindow.cpp2
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;