diff options
| author | Brian Munro <brian.alexander.munro@gmail.com> | 2018-02-22 18:02:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-22 18:02:02 +0200 |
| commit | 28714f0eb800f2170acbf29dddce1582d20d6b8b (patch) | |
| tree | 0684c123db375336e0e03f0240155a12e744db16 /src/profileinputdialog.cpp | |
| parent | 0bcd752b2758bdb072b498ccc90905276be065e9 (diff) | |
| parent | 5e5c9c07291f6b09623d31c92b1fb61c4ede576e (diff) | |
Merge pull request #236 from SuperSandro2000/new_vfs_library
Update reame.md
Diffstat (limited to 'src/profileinputdialog.cpp')
| -rw-r--r-- | src/profileinputdialog.cpp | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/src/profileinputdialog.cpp b/src/profileinputdialog.cpp index 5a1fd03c..242f6356 100644 --- a/src/profileinputdialog.cpp +++ b/src/profileinputdialog.cpp @@ -21,28 +21,18 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "ui_profileinputdialog.h"
#include <utility.h>
-ProfileInputDialog::ProfileInputDialog(QWidget *parent) :
- QDialog(parent),
- ui(new Ui::ProfileInputDialog)
-{
- ui->setupUi(this);
+ProfileInputDialog::ProfileInputDialog(QWidget* parent) : QDialog(parent), ui(new Ui::ProfileInputDialog) {
+ ui->setupUi(this);
}
-ProfileInputDialog::~ProfileInputDialog()
-{
- delete ui;
-}
+ProfileInputDialog::~ProfileInputDialog() { delete ui; }
-QString ProfileInputDialog::getName() const
-{
- QString result = ui->nameEdit->text();
- MOBase::fixDirectoryName(result);
- return result;
+QString ProfileInputDialog::getName() const {
+ QString result = ui->nameEdit->text();
+ MOBase::fixDirectoryName(result);
+ return result;
}
-
-bool ProfileInputDialog::getPreferDefaultSettings() const
-{
- return ui->defaultSettingsBox->checkState() == Qt::Checked;
+bool ProfileInputDialog::getPreferDefaultSettings() const {
+ return ui->defaultSettingsBox->checkState() == Qt::Checked;
}
-
|
