Fix a previous commit (inner loop for was making deep copy.
This commit is contained in:
parent
561269a2e6
commit
0b92926465
|
@ -267,7 +267,7 @@ void PartitionManagerWidget::updatePartitions()
|
|||
treePartitions().addTopLevelItem(deviceItem);
|
||||
|
||||
if (selectedDevice()->partitionTable() != nullptr) {
|
||||
foreach(auto const &p, selectedDevice()->partitionTable()->children()) {
|
||||
foreach(auto const * p, selectedDevice()->partitionTable()->children()) {
|
||||
QTreeWidgetItem* item = createTreeWidgetItem(*p);
|
||||
|
||||
for (auto const &child : p->children()) {
|
||||
|
|
Loading…
Reference in New Issue