diff --git a/conf/okular.kcfg b/conf/okular.kcfg index 9490564f9..47ed5bf3b 100644 --- a/conf/okular.kcfg +++ b/conf/okular.kcfg @@ -220,7 +220,7 @@ KUser currentUser; - QString userString = currentUser.fullName(); + QString userString = currentUser.property( KUser::FullName ).toString(); if ( userString.isEmpty() ) { userString = currentUser.loginName(); diff --git a/ui/pageviewannotator.cpp b/ui/pageviewannotator.cpp index a9ba68127..3195a4f47 100644 --- a/ui/pageviewannotator.cpp +++ b/ui/pageviewannotator.cpp @@ -685,7 +685,7 @@ void PageViewAnnotator::setEnabled( bool on ) { // get default username from the kdelibs/kdecore/KUser KUser currentUser; - QString userName = currentUser.fullName(); + QString userName = currentUser.property( KUser::FullName ).toString(); // ask the user for confirmation/change bool firstTry = true; while ( firstTry || userName.isEmpty() )