From: Peter Penz Date: Wed, 11 Feb 2009 21:27:36 +0000 (+0000) Subject: hide the tooltip when the context menu is opened in the columns view X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/be36d1c821ef78c09a0ac5737296a31c88c70133 hide the tooltip when the context menu is opened in the columns view BUG: 184053 CCMAIL: predator106@gmail.com svn path=/trunk/KDE/kdebase/apps/; revision=924889 --- diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index 3fbf92100..5ef86a29d 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -424,6 +424,10 @@ void DolphinColumnWidget::contextMenuEvent(QContextMenuEvent* event) clearSelection(); } + if (m_toolTipManager != 0) { + m_toolTipManager->hideTip(); + } + const QPoint pos = m_view->viewport()->mapFromGlobal(event->globalPos()); Q_ASSERT(m_view->m_controller->itemView() == this); m_view->m_controller->triggerContextMenuRequest(pos);