diff options
| author | Brian Munro <brian.alexander.munro@gmail.com> | 2018-02-23 06:38:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-23 06:38:12 +0200 |
| commit | 0a4fa10ca402c636b40124e0d1115c7b92a3d66d (patch) | |
| tree | 312024abbd7c3c100274f3a8031d49096480b654 /src/profileinputdialog.cpp | |
| parent | 28714f0eb800f2170acbf29dddce1582d20d6b8b (diff) | |
| parent | ea6292168a6acd4c263913f0ccd7dd64daf4f5cf (diff) | |
Merge pull request #237 from SuperSandro2000/new_vfs_library
Revert "Applied clang-format on source"
Diffstat (limited to 'src/profileinputdialog.cpp')
| -rw-r--r-- | src/profileinputdialog.cpp | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/src/profileinputdialog.cpp b/src/profileinputdialog.cpp index 242f6356..5a1fd03c 100644 --- a/src/profileinputdialog.cpp +++ b/src/profileinputdialog.cpp @@ -21,18 +21,28 @@ 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;
}
+
|
