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/credentialsdialog.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/credentialsdialog.cpp')
| -rw-r--r-- | src/credentialsdialog.cpp | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/src/credentialsdialog.cpp b/src/credentialsdialog.cpp index fd6554ec..04774548 100644 --- a/src/credentialsdialog.cpp +++ b/src/credentialsdialog.cpp @@ -20,16 +20,34 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "credentialsdialog.h"
#include "ui_credentialsdialog.h"
-CredentialsDialog::CredentialsDialog(QWidget* parent) : QDialog(parent), ui(new Ui::CredentialsDialog) {
- ui->setupUi(this);
+CredentialsDialog::CredentialsDialog(QWidget *parent) :
+ QDialog(parent),
+ ui(new Ui::CredentialsDialog)
+{
+ ui->setupUi(this);
}
-CredentialsDialog::~CredentialsDialog() { delete ui; }
+CredentialsDialog::~CredentialsDialog()
+{
+ delete ui;
+}
-QString CredentialsDialog::username() const { return ui->usernameEdit->text(); }
+QString CredentialsDialog::username() const
+{
+ return ui->usernameEdit->text();
+}
-QString CredentialsDialog::password() const { return ui->passwordEdit->text(); }
+QString CredentialsDialog::password() const
+{
+ return ui->passwordEdit->text();
+}
-bool CredentialsDialog::store() const { return ui->rememberCheck->isChecked(); }
+bool CredentialsDialog::store() const
+{
+ return ui->rememberCheck->isChecked();
+}
-bool CredentialsDialog::neverAsk() const { return ui->dontaskBox->isChecked(); }
+bool CredentialsDialog::neverAsk() const
+{
+ return ui->dontaskBox->isChecked();
+}
|
