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()));
// 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 {
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 {