summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilian Wolff <mail@milianw.de>2016-08-21 21:04:16 (GMT)
committerMilian Wolff <mail@milianw.de>2016-08-21 21:04:16 (GMT)
commited41367eea671ae078aa16d7c428d066ea0cc60f (patch)
treebb708a34378b25b342f0c6f3a396b9a92b5ead07
parentd64b70c3e8892b1fe8fd2a81147d29d98985174b (diff)
Use non-deprecated QHeaderView::setSectionsMovable
The ::setMovable is deprecated and can be disabled. Fixes compile in such cases.
-rw-r--r--src/storageservice/widgets/storageservicetreewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storageservice/widgets/storageservicetreewidget.cpp b/src/storageservice/widgets/storageservicetreewidget.cpp
index 6d9d089..df431e3 100644
--- a/src/storageservice/widgets/storageservicetreewidget.cpp
+++ b/src/storageservice/widgets/storageservicetreewidget.cpp
@@ -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);
}