diff --git a/src/dialogs/NewFileDialog.cpp b/src/dialogs/NewFileDialog.cpp index 35184214..9f94d0b8 100644 --- a/src/dialogs/NewFileDialog.cpp +++ b/src/dialogs/NewFileDialog.cpp @@ -160,11 +160,6 @@ void NewFileDialog::on_projectsListWidget_itemDoubleClicked(QListWidgetItem *ite loadProject(item->data(Qt::UserRole).toString()); } -void NewFileDialog::on_cancelButton_clicked() -{ - close(); -} - void NewFileDialog::on_aboutButton_clicked() { AboutDialog *a = new AboutDialog(this); diff --git a/src/dialogs/NewFileDialog.h b/src/dialogs/NewFileDialog.h index cd0e29ea..3dd527b8 100644 --- a/src/dialogs/NewFileDialog.h +++ b/src/dialogs/NewFileDialog.h @@ -25,8 +25,7 @@ private slots: void on_selectProjectsDirButton_clicked(); void on_loadProjectButton_clicked(); - void on_cancelButton_clicked(); - void on_aboutButton_clicked(); + void on_aboutButton_clicked(); void on_recentsListWidget_itemClicked(QListWidgetItem *item); void on_recentsListWidget_itemDoubleClicked(QListWidgetItem *item); diff --git a/src/dialogs/NewfileDialog.ui b/src/dialogs/NewfileDialog.ui index 1b392e58..8ac62b30 100644 --- a/src/dialogs/NewfileDialog.ui +++ b/src/dialogs/NewfileDialog.ui @@ -46,6 +46,49 @@ + + + + 10 + + + 0 + + + + + Qt::Horizontal + + + + 500 + 20 + + + + + + + + About + + + + + + + Qt::Horizontal + + + + 500 + 20 + + + + + + @@ -396,56 +439,6 @@ - - - - 10 - - - 0 - - - - - Qt::Horizontal - - - - 500 - 20 - - - - - - - - About - - - - - - - Close - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - -