1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[TabPreview] Don't show tab previews while dragging tabs.

This commit is contained in:
nowrep 2013-03-11 15:14:50 +01:00
parent 8bff746d30
commit ab8496610e

View File

@ -596,7 +596,7 @@ bool TabBar::event(QEvent* event)
case QEvent::ToolTip:
if (m_showTabPreviews) {
QHelpEvent* ev = static_cast<QHelpEvent*>(event);
if (tabAt(ev->pos()) != -1 && !m_tabPreview->isVisible()) {
if (tabAt(ev->pos()) != -1 && !m_tabPreview->isVisible() && m_dragStartPosition.isNull()) {
showTabPreview();
}
return true;