Show more accurate device type in case of LVM VG.
This commit is contained in:
parent
988af11b30
commit
a234179358
|
@ -133,8 +133,11 @@ void DevicePropsDialog::setupDialog()
|
||||||
dialogWidget().buttonSmartMore().setVisible(false);
|
dialogWidget().buttonSmartMore().setVisible(false);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//TODO: add Volume Manger Device info
|
if (device().type() == Device::LVM_Device)
|
||||||
|
dialogWidget().type().setText(xi18nc("@label device", "LVM Volume Group"));
|
||||||
|
else
|
||||||
dialogWidget().type().setText(xi18nc("@label device", "Volume Manager Device"));
|
dialogWidget().type().setText(xi18nc("@label device", "Volume Manager Device"));
|
||||||
|
//TODO: add Volume Manger Device info
|
||||||
dialogWidget().smartStatusText().setVisible(false);
|
dialogWidget().smartStatusText().setVisible(false);
|
||||||
dialogWidget().smartStatusIcon().setVisible(false);
|
dialogWidget().smartStatusIcon().setVisible(false);
|
||||||
dialogWidget().buttonSmartMore().setVisible(false);
|
dialogWidget().buttonSmartMore().setVisible(false);
|
||||||
|
|
Loading…
Reference in New Issue