SVN commit 914002 by dantti: Fixed bug that asks for swipe finger when it shouldn't M +3 -2 AuthDialog.cpp --- trunk/extragear/base/PolicyKit-kde/manager/AuthDialog.cpp #914001:914002 @@ -93,7 +93,8 @@ void AuthDialog::setRequest(const QString &request, bool requiresAdmin) { - if (!request.startsWith("password:", Qt::CaseInsensitive)) { + kDebug() << request; + if (request.startsWith("password:", Qt::CaseInsensitive)) { if (requiresAdmin) { if (!userCB->itemData(userCB->currentIndex()).isNull()) { lblPassword->setText(i18n("Password for %1:", @@ -104,7 +105,7 @@ } else { lblPassword->setText(i18n("Password:")); } - } else if (!request.startsWith("password or swipe finger:", Qt::CaseInsensitive)) { + } else if (request.startsWith("password or swipe finger:", Qt::CaseInsensitive)) { if (requiresAdmin) { if (!userCB->itemData(userCB->currentIndex()).isNull()) { lblPassword->setText(i18n("Password or swipe finger for %1:",