diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2018-02-22 16:54:34 +0100 |
| commit | 5e5c9c07291f6b09623d31c92b1fb61c4ede576e (patch) | |
| tree | 0684c123db375336e0e03f0240155a12e744db16 /src/profileinputdialog.cpp | |
| parent | 5ad912e1934061b38825801a27f7c12933878005 (diff) | |
Applied clang-format on source
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;
}
-
|
