aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/setupwizard/PasteWizardPage.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-05 19:04:53 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-05 19:04:53 +0300
commit91eb30f03795921b48360b79bdb739dcd0f10f17 (patch)
tree1a2fccbbbf4751cf2cf6f6418cb525dcee5f2acd /launcher/ui/setupwizard/PasteWizardPage.cpp
parenta3ffa6455021b69bd1940b65fefb3b6177c96730 (diff)
parentae793f6cf11658c9abc5111e82d5ba7b3e6af127 (diff)
downloadPrismLauncher-91eb30f03795921b48360b79bdb739dcd0f10f17.tar.gz
PrismLauncher-91eb30f03795921b48360b79bdb739dcd0f10f17.tar.bz2
PrismLauncher-91eb30f03795921b48360b79bdb739dcd0f10f17.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into pack_changelog
Diffstat (limited to 'launcher/ui/setupwizard/PasteWizardPage.cpp')
-rw-r--r--launcher/ui/setupwizard/PasteWizardPage.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/launcher/ui/setupwizard/PasteWizardPage.cpp b/launcher/ui/setupwizard/PasteWizardPage.cpp
index 0f47da4b..777fd3a4 100644
--- a/launcher/ui/setupwizard/PasteWizardPage.cpp
+++ b/launcher/ui/setupwizard/PasteWizardPage.cpp
@@ -4,9 +4,7 @@
#include "Application.h"
#include "net/PasteUpload.h"
-PasteWizardPage::PasteWizardPage(QWidget *parent) :
- BaseWizardPage(parent),
- ui(new Ui::PasteWizardPage)
+PasteWizardPage::PasteWizardPage(QWidget* parent) : BaseWizardPage(parent), ui(new Ui::PasteWizardPage)
{
ui->setupUi(this);
}
@@ -16,17 +14,14 @@ PasteWizardPage::~PasteWizardPage()
delete ui;
}
-void PasteWizardPage::initializePage()
-{
-}
+void PasteWizardPage::initializePage() {}
bool PasteWizardPage::validatePage()
{
auto s = APPLICATION->settings();
QString prevPasteURL = s->get("PastebinURL").toString();
s->reset("PastebinURL");
- if (ui->previousSettingsRadioButton->isChecked())
- {
+ if (ui->previousSettingsRadioButton->isChecked()) {
bool usingDefaultBase = prevPasteURL == PasteUpload::PasteTypes.at(PasteUpload::PasteType::NullPointer).defaultBase;
s->set("PastebinType", PasteUpload::PasteType::NullPointer);
if (!usingDefaultBase)