Commit dd0df390 authored by Andrius Štikonas's avatar Andrius Štikonas

Port away from deprecated QTreeWidget::setFirstItemColumnSpanned.

parent 68d8c345
...@@ -279,7 +279,7 @@ void PartitionManagerWidget::updatePartitions() ...@@ -279,7 +279,7 @@ void PartitionManagerWidget::updatePartitions()
} }
} }
treePartitions().setFirstItemColumnSpanned(deviceItem, true); deviceItem->setFirstColumnSpanned(true);
deviceItem->setExpanded(true); deviceItem->setExpanded(true);
deviceItem->setFlags(Qt::ItemIsEnabled); deviceItem->setFlags(Qt::ItemIsEnabled);
......
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