From 4436e874290e2c2b909390d8d1bc3960e90f5e49 Mon Sep 17 00:00:00 2001 From: Lionel Chauvin Date: Sun, 9 Aug 2009 16:36:04 +0200 Subject: hide popup when focus change --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.cpp') 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; -- cgit v1.2.1