Ticket #50143: patch-drop-authentication.diff
File patch-drop-authentication.diff, 1.4 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
src/konfigurator/
old new 60 60 QStringLiteral(), 61 61 QStringLiteral("staikos@kde.org")); 62 62 setAboutData(about); 63 setNeedsAuthorization( true);63 setNeedsAuthorization(false); 64 64 65 65 QVBoxLayout *vbox = new QVBoxLayout(this); 66 66 //PORT QT5 vbox->setSpacing(KDialog::spacingHint()); … … 267 267 QVariantMap args; 268 268 KAuth::Action action = authAction(); 269 269 if (!action.isValid()) { 270 qDebug() << "There's no authAction, not saving settings";271 return;272 } 273 action.setArguments(args);270 // qDebug() << "There's no authAction, not saving settings"; 271 // return; 272 } else { 273 action.setArguments(args); 274 274 275 KAuth::ExecuteJob *j = action.execute();275 KAuth::ExecuteJob *j = action.execute(); 276 276 277 if (!j->exec()) { 278 qDebug() << j->errorText(); 279 KMessageBox::error(this, j->errorString(), i18n("KDE Wallet Control Module")); 280 load(); 281 return; 277 if (!j->exec()) { 278 qDebug() << j->errorText(); 279 KMessageBox::error(this, j->errorString(), i18n("KDE Wallet Control Module")); 280 load(); 281 return; 282 } 282 283 } 283 284 284 285 KConfigGroup config(_cfg, "Wallet");