diff --git a/src/modules/partition/CreatePartitionDialog.cpp b/src/modules/partition/CreatePartitionDialog.cpp index 592aa2b6f..4990faea0 100644 --- a/src/modules/partition/CreatePartitionDialog.cpp +++ b/src/modules/partition/CreatePartitionDialog.cpp @@ -27,6 +27,9 @@ #include #include +// Qt +#include + CreatePartitionDialog::CreatePartitionDialog( Device* device, Partition* freePartition, QWidget* parent ) : QDialog( parent ) , m_ui( new Ui_CreatePartitionDialog ) @@ -104,7 +107,7 @@ CreatePartitionDialog::createJob() fs, first, last, QString() /* path */, PartitionTable::FlagNone /* availableFlags */, - QString() /* mountPoint */, + m_ui->mountPointComboBox->currentText(), false /* mounted */, PartitionTable::FlagNone /* activeFlags */, Partition::StateNew diff --git a/src/modules/partition/CreatePartitionDialog.ui b/src/modules/partition/CreatePartitionDialog.ui index 1fb210ea3..1e2380e4a 100644 --- a/src/modules/partition/CreatePartitionDialog.ui +++ b/src/modules/partition/CreatePartitionDialog.ui @@ -6,8 +6,8 @@ 0 0 - 263 - 179 + 425 + 321 @@ -39,7 +39,7 @@ - + Qt::Vertical @@ -86,6 +86,56 @@ + + + + &Mount Point: + + + mountPointComboBox + + + + + + + true + + + -1 + + + + / + + + + + /boot + + + + + /home + + + + + /opt + + + + + /usr + + + + + /var + + + +