diff options
| author | Peter Penz <[email protected]> | 2012-02-21 17:05:37 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-21 17:07:00 +0100 |
| commit | 2db0cca5cf898c0328a079f7071ccdbc8e728029 (patch) | |
| tree | 7cbac95201be959438cb44bb5d46cfaececfc168 /src/views/dolphinview.cpp | |
| parent | 7deb601f317d7c806e69d0d82d99a03d0859ca85 (diff) | |
Don't show tooltips when dragging to another Dolphin window
BUG: 294533
FIXED-IN: 4.8.1
Diffstat (limited to 'src/views/dolphinview.cpp')
| -rw-r--r-- | src/views/dolphinview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 54787d28f..750cbb998 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -808,7 +808,7 @@ void DolphinView::slotItemHovered(int index) { const KFileItem item = fileItemModel()->fileItem(index); - if (GeneralSettings::showToolTips() && QApplication::mouseButtons() == Qt::NoButton) { + if (GeneralSettings::showToolTips() && hasFocus() && QApplication::mouseButtons() == Qt::NoButton) { QRectF itemRect = m_container->controller()->view()->itemContextRect(index); const QPoint pos = m_container->mapToGlobal(itemRect.topLeft().toPoint()); itemRect.moveTo(pos); |
