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)
setDragEnabled(true);
setDragDropMode(QAbstractItemView::DragOnly);
setSelectionBehavior(QAbstractItemView::SelectRows);
// for hover close button
viewport()->setAttribute(Qt::WA_Hover);
setItemDelegate(new StyleDelegate(this));
......
Markdown is supported
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