summaryrefslogtreecommitdiff
path: root/src/credentialsdialog.cpp
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-02-23 06:38:12 +0200
committerGitHub <noreply@github.com>2018-02-23 06:38:12 +0200
commit0a4fa10ca402c636b40124e0d1115c7b92a3d66d (patch)
tree312024abbd7c3c100274f3a8031d49096480b654 /src/credentialsdialog.cpp
parent28714f0eb800f2170acbf29dddce1582d20d6b8b (diff)
parentea6292168a6acd4c263913f0ccd7dd64daf4f5cf (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.cpp32
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();
+}