[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/base/PolicyKit-kde/manager
From: Daniel Nicoletti <dantti85-kde () yahoo ! com ! br>
Date: 2009-01-20 11:50:36
Message-ID: 1232452236.167432.25172.nullmailer () svn ! kde ! org
[Download RAW message or body]
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:",
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic