X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fcoreconfigwizard.cpp;h=4b8c7c50888f7b4c154356ce4e25660fa91cb430;hb=9ba2ca5186c8598e33910a7df95bbdbf812a1a3d;hp=4324c45f805ac83b14bd9b3b8da7f29561a090e7;hpb=05249bc1337473abcb3076be9f20c82e14211d5a;p=quassel.git diff --git a/src/qtui/coreconfigwizard.cpp b/src/qtui/coreconfigwizard.cpp index 4324c45f..4b8c7c50 100644 --- a/src/qtui/coreconfigwizard.cpp +++ b/src/qtui/coreconfigwizard.cpp @@ -158,7 +158,7 @@ CoreConfigWizard::CoreConfigWizard(CoreConnection *connection, const QVariantLis setModal(true); - setWindowTitle(tr("Core Configuration Wizard")); + setWindowTitle(CoreConfigWizard::tr("Core Configuration Wizard")); setPixmap(QWizard::LogoPixmap, QIcon::fromTheme("quassel", QIcon(":/icons/quassel.png")).pixmap(48)); connect(connection, SIGNAL(coreSetupSuccess()), SLOT(coreSetupSuccess())); @@ -188,7 +188,7 @@ void CoreConfigWizard::prepareCoreSetup(const QString &backend, const QVariantMa // FIXME? We need to be able to set up older cores that don't have auth backend support. // So if the core doesn't support that feature, don't pass those parameters. - if (!(Client::coreFeatures() & Quassel::Authenticators)) { + if (!Client::isCoreFeatureEnabled(Quassel::Feature::Authenticators)) { coreConnection()->setupCore(Protocol::SetupData(field("adminUser.user").toString(), field("adminUser.password").toString(), backend, properties)); } else { @@ -267,7 +267,7 @@ AdminUserPage::AdminUserPage(QWidget *parent) : QWizardPage(parent) int AdminUserPage::nextId() const { // If the core doesn't support auth backends, skip that page! - if (!(Client::coreFeatures() & Quassel::Authenticators)) { + if (!Client::isCoreFeatureEnabled(Quassel::Feature::Authenticators)) { return CoreConfigWizard::StorageSelectionPage; } else {