summaryrefslogtreecommitdiff
path: root/src/credentialsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/credentialsdialog.cpp')
-rw-r--r--src/credentialsdialog.cpp32
1 files changed, 7 insertions, 25 deletions
diff --git a/src/credentialsdialog.cpp b/src/credentialsdialog.cpp
index 04774548..fd6554ec 100644
--- a/src/credentialsdialog.cpp
+++ b/src/credentialsdialog.cpp
@@ -20,34 +20,16 @@ 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(); }