┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-02-23 15:51:47 +0100
committerPeter Penz <[email protected]>2012-02-23 15:55:06 +0100
commita6627b9f2345eac9cc650aa9f87f9c69db8c707f (patch)
treec0da3dc2c3f3ed9a594a0d5271b0886127194dd6 /src/views/dolphinview.h
parentdbc5fd7a491f95ca4084a113d0f902ea975478fd (diff)
Fix drag and drop issue when dragging between windows
Explicitly check whether a dragging is ongoing to decide whether a tooltip may be shown or not, just using QApplication::mouseButtons() is not sufficient when dragging between windows. BUG: 294533 FIXED-IN: 4.8.1
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index bc65a8b77..42ad26098 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -741,10 +741,12 @@ private:
static QString fileSizeText(KIO::filesize_t fileSize);
private:
- bool m_active : 1;
- bool m_tabsForFiles : 1;
- bool m_assureVisibleCurrentIndex : 1;
- bool m_isFolderWritable : 1;
+ bool m_active;
+ bool m_tabsForFiles;
+ bool m_assureVisibleCurrentIndex;
+ bool m_isFolderWritable;
+ bool m_dragging; // True if a dragging is done. Required to be able to decide whether a
+ // tooltip may be shown when hovering an item.
KUrl m_url;
Mode m_mode;