blob: 9f83fc00d02d4ec31d211ca78f70781306eb1c54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
http://bugs.gentoo.org/314471
http://websvn.kde.org/trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp?r1=1065570&r2=1073600
--- trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp
+++ trunk/extragear/base/polkit-kde-1/agent/AuthDialog.cpp
@@ -195,7 +195,7 @@
foreach(PolkitQt1::Identity *identity, identities) {
// First check to see if the user is valid
qDebug() << "User: " << identity;
- KUser user = KUser::KUser(identity->toString().remove("unix-user:"));
+ KUser user(identity->toString().remove("unix-user:"));
if (!user.isValid()) {
kWarning() << "User invalid: " << user.loginName();
continue;
|