Commit ed41367e authored by Milian Wolff's avatar Milian Wolff
Browse files

Use non-deprecated QHeaderView::setSectionsMovable

The ::setMovable is deprecated and can be disabled.
Fixes compile in such cases.
parent d64b70c3
......@@ -48,7 +48,7 @@ StorageServiceTreeWidget::StorageServiceTreeWidget(StorageServiceAbstract *stora
QStringList lst;
lst << i18n("Name") << i18n("Size") << i18n("Created") << i18n("Last Modified");
setHeaderLabels(lst);
header()->setMovable(false);
header()->setSectionsMovable(false);
connect(this, &StorageServiceTreeWidget::itemDoubleClicked, this, &StorageServiceTreeWidget::slotItemDoubleClicked);
}
......
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