]> cloud.milkyroute.net Git - dolphin.git/commitdiff
* the WA_Hover flag is set by KFileItemDelegate automatically now
authorPeter Penz <peter.penz19@gmail.com>
Wed, 12 Mar 2008 17:36:34 +0000 (17:36 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 12 Mar 2008 17:36:34 +0000 (17:36 +0000)
* mouse tracking must stay enabled

svn path=/trunk/KDE/kdebase/apps/; revision=784871

src/dolphincolumnwidget.cpp
src/dolphindetailsview.cpp
src/dolphiniconsview.cpp

index bbaa5f7933bb36223ff562e5ecc282ec7c2b716f..545b97e9742ed2fa8b14f2c6764a76bbb7b5bc77 100644 (file)
@@ -63,7 +63,6 @@ DolphinColumnWidget::DolphinColumnWidget(QWidget* parent,
     m_dropRect()
 {
     setMouseTracking(true);
-    viewport()->setAttribute(Qt::WA_Hover);
     setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
     setSelectionBehavior(SelectItems);
index 2eb631a649bb87ca8aba7d895db156ac54b5fab3..53bf4e2a7026a241465a71bd554bb59535638dd7 100644 (file)
@@ -68,7 +68,6 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
     setItemsExpandable(settings->expandableFolders());
 
     setMouseTracking(true);
-    viewport()->setAttribute(Qt::WA_Hover);
 
     const ViewProperties props(controller->url());
     setSortIndicatorSection(props.sorting());
index dda538e16ddb4b341d05793264f398d79e4bc1d6..e32eee1a5cdf9f42e13a22d3fbca2c21f8b38653 100644 (file)
@@ -56,6 +56,8 @@ DolphinIconsView::DolphinIconsView(QWidget* parent, DolphinController* controlle
     setDragEnabled(true);
     viewport()->setAcceptDrops(true);
 
+    setMouseTracking(true);
+
     // TODO: Connecting to the signal 'activated()' is not possible, as kstyle
     // does not forward the single vs. doubleclick to it yet (KDE 4.1?). Hence it is
     // necessary connecting the signal 'singleClick()' or 'doubleClick' and to handle the