Temporary disable changing volume type and PE size, until the features are implemented on KPMCore side.

This commit is contained in:
Chantara Tith 2016-07-16 04:39:12 +07:00 committed by Andrius Štikonas
parent 2917317619
commit 5f364befd8
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ CreateVolumeDialog::CreateVolumeDialog(QWidget* parent, QString& vgname, QString
setupConstraints();
setupConnections();
// disable volume type and PE size for now, until the features are implemented.
dialogWidget().spinPESize().setEnabled(false);
dialogWidget().volumeType().setEnabled(false);
KConfigGroup kcg(KSharedConfig::openConfig(), "createVolumeDialog");
restoreGeometry(kcg.readEntry<QByteArray>("Geometry", QByteArray()));
}