From 11de315e36b6d0838d29364fbb58815c14813d73 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Mon, 4 Nov 2024 20:15:43 +0100 Subject: [PATCH] wiz => owncloudSetupWizard. Signed-off-by: Camila Ayres --- src/gui/owncloudsetupwizard.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index ae67d3ca2a259..d8e2e7be338ec 100644 --- a/src/gui/owncloudsetupwizard.cpp +++ b/src/gui/owncloudsetupwizard.cpp @@ -66,7 +66,7 @@ OwncloudSetupWizard::~OwncloudSetupWizard() _ocWizard->deleteLater(); } -static QPointer wiz = nullptr; +static QPointer owncloudSetupWizard = nullptr; void OwncloudSetupWizard::runWizard(QObject *obj, const char *amember, QWidget *parent) { @@ -78,24 +78,24 @@ void OwncloudSetupWizard::runWizard(QObject *obj, const char *amember, QWidget * Theme::instance()->setStartLoginFlowAutomatically(true); } - if (!wiz.isNull()) { + if (!owncloudSetupWizard.isNull()) { bringWizardToFrontIfVisible(); return; } - wiz = new OwncloudSetupWizard(parent); - connect(wiz, SIGNAL(ownCloudWizardDone(int)), obj, amember); + owncloudSetupWizard = new OwncloudSetupWizard(parent); + connect(owncloudSetupWizard, SIGNAL(ownCloudWizardDone(int)), obj, amember); FolderMan::instance()->setSyncEnabled(false); - wiz->startWizard(); + owncloudSetupWizard->startWizard(); } bool OwncloudSetupWizard::bringWizardToFrontIfVisible() { - if (wiz.isNull()) { + if (owncloudSetupWizard.isNull()) { return false; } - ownCloudGui::raiseDialog(wiz->_ocWizard); + ownCloudGui::raiseDialog(owncloudSetupWizard->_ocWizard); return true; }