Commit c55bc613 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Make sure hover close button is visible on non-kde platforms

parent ea574be6
...@@ -84,6 +84,8 @@ KateFileTree::KateFileTree(QWidget *parent) ...@@ -84,6 +84,8 @@ KateFileTree::KateFileTree(QWidget *parent)
setDragEnabled(true); setDragEnabled(true);
setDragDropMode(QAbstractItemView::DragOnly); setDragDropMode(QAbstractItemView::DragOnly);
setSelectionBehavior(QAbstractItemView::SelectRows); setSelectionBehavior(QAbstractItemView::SelectRows);
// for hover close button
setItemDelegate(new StyleDelegate(this)); setItemDelegate(new StyleDelegate(this));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment