1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +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: case QEvent::ToolTip:
if (m_showTabPreviews) { if (m_showTabPreviews) {
QHelpEvent* ev = static_cast<QHelpEvent*>(event); 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(); showTabPreview();
} }
return true; return true;