diff options
| author | Peter Penz <[email protected]> | 2008-02-22 10:08:11 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-02-22 10:08:11 +0000 |
| commit | 1abc518e7a492917ffaca4de880e641eb1bf406c (patch) | |
| tree | f1d896b9cbaa6c661d044bfc1e7012b2a1cc42a4 /src/dolphindetailsview.cpp | |
| parent | d7321c1d9ad3429e4d60206ac51d46305736c2bb (diff) | |
SVN_SILENT: updated comment with the Qt-bugtracker ID
svn path=/trunk/KDE/kdebase/apps/; revision=778039
Diffstat (limited to 'src/dolphindetailsview.cpp')
| -rw-r--r-- | src/dolphindetailsview.cpp | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index 678343503..e80b75119 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -237,30 +237,17 @@ void DolphinDetailsView::mouseMoveEvent(QMouseEvent* event) setSelection(selRect, QItemSelectionModel::Select); } - // TODO: see comment at end of method + // TODO: enable QTreeView::mouseMoveEvent(event) again, as soon + // as the Qt-issue #199631 has been fixed. // QTreeView::mouseMoveEvent(event); QAbstractItemView::mouseMoveEvent(event); updateElasticBand(); } else { - // TODO: see comment at end of method - //QTreeView::mouseMoveEvent(event); + // TODO: enable QTreeView::mouseMoveEvent(event) again, as soon + // as the Qt-issue #199631 has been fixed. + // QTreeView::mouseMoveEvent(event); QAbstractItemView::mouseMoveEvent(event); } - - // The original implementation of QTreeView::mouseMoveEvent() looks like this (Qt4.4): - // - // void QTreeView::mouseMoveEvent(QMouseEvent *event) - // { - // Q_D(QTreeView); - // if (d->itemDecorationAt(event->pos()) == -1) // ### what about expanding/collapsing state ? - // QAbstractItemView::mouseMoveEvent(event); - // } - // - // This prevents that the signal 'entered()' is emitted when the mouse is above a decoration, - // although the hovered item has changed. The SelectionManager is connected to 'entered()' - // and assumes that the old item is selected. This is currently bypassed by skipping - // the base implementation and invoking QAbstractItemView::mouseMoveEvent() directly. - // Submitted a bug report to Trolltech, bug ID is still pending. } void DolphinDetailsView::mouseReleaseEvent(QMouseEvent* event) |
