diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-25 22:09:13 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-05-26 12:50:15 +0300 |
commit | 0492a063806b6d63e4f378908b809de104a24820 (patch) | |
tree | 2e285d0c9b5067dc9395bfb751fe84bb8ac2a5f4 /plugins/ProfileEditor/forms/newprofiledialog.cpp | |
parent | libwebengine (diff) | |
download | smolbote-0492a063806b6d63e4f378908b809de104a24820.tar.xz |
Update ProfileEditor plugin
ProfileEditor:
- add tests
- disable read-only settings on otr profiles
Add WebProfile::setHeaders and WebProfile::setCookies
Diffstat (limited to 'plugins/ProfileEditor/forms/newprofiledialog.cpp')
-rw-r--r-- | plugins/ProfileEditor/forms/newprofiledialog.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/ProfileEditor/forms/newprofiledialog.cpp b/plugins/ProfileEditor/forms/newprofiledialog.cpp deleted file mode 100644 index 3ed61d8..0000000 --- a/plugins/ProfileEditor/forms/newprofiledialog.cpp +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This file is part of smolbote. It's copyrighted by the contributors recorded - * in the version control history of the file, available from its original - * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote - * - * SPDX-License-Identifier: GPL-3.0 - */ - -#include "newprofiledialog.h" -#include "ui_newprofiledialog.h" - -NewProfileDialog::NewProfileDialog(QWidget *parent) : - QDialog(parent), - ui(new Ui::NewProfileDialog) -{ - ui->setupUi(this); -} - -NewProfileDialog::~NewProfileDialog() -{ - delete ui; -} - -const QString NewProfileDialog::getId() const -{ - return ui->id_lineEdit->text(); -} - -bool NewProfileDialog::getOtr() const -{ - return ui->offTheRecord->isChecked(); -} |