mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-07 04:17:14 +08:00
15 lines
716 B
Diff
15 lines
716 B
Diff
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;
|