Get current PV list from deviceNodeList instead of calling external one.
This commit is contained in:
parent
7f61e77eb5
commit
9e58e13d21
|
@ -58,7 +58,7 @@ void ResizeVolumeDialog::setupDialog()
|
|||
{
|
||||
dialogWidget().partTableWidget().setVisible(false);
|
||||
if (dialogWidget().volumeType().currentText() == QStringLiteral("LVM")) {
|
||||
dialogWidget().listPV().addPartitionList(LvmDevice::getPVs(targetName()), true);
|
||||
dialogWidget().listPV().addPartitionList(device().deviceNodeList(), true);
|
||||
dialogWidget().listPV().addPartitionList(FS::lvm2_pv::getFreePV(), false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue