diff --git a/conf/okular.kcfg b/conf/okular.kcfg index d6162be24..79117df5c 100644 --- a/conf/okular.kcfg +++ b/conf/okular.kcfg @@ -128,7 +128,6 @@ - true @@ -205,4 +204,7 @@ 4.0 + + + diff --git a/ui/pageviewannotator.cpp b/ui/pageviewannotator.cpp index 787856afc..cfc4fa119 100644 --- a/ui/pageviewannotator.cpp +++ b/ui/pageviewannotator.cpp @@ -605,7 +605,7 @@ void PageViewAnnotator::setEnabled( bool on ) m_toolBar->showItems( (PageViewToolBar::Side)Okular::Settings::editToolBarPlacement(), items ); // ask for Author's name if not already set - if ( Okular::Settings::annotationsAuthor().isEmpty() ) + if ( Okular::Settings::identityAuthor().isEmpty() ) { // get default username from the kdelibs/kdecore/KUser KUser currentUser; @@ -620,7 +620,7 @@ void PageViewAnnotator::setEnabled( bool on ) firstTry = false; } // save the name - Okular::Settings::setAnnotationsAuthor( userName ); + Okular::Settings::setIdentityAuthor( userName ); Okular::Settings::writeConfig(); } } @@ -695,7 +695,7 @@ QRect PageViewAnnotator::routeEvent( QMouseEvent * e, PageViewItem * item ) if ( !annotation ) continue; annotation->creationDate = annotation->modifyDate = QDateTime::currentDateTime(); - annotation->author = Okular::Settings::annotationsAuthor(); + annotation->author = Okular::Settings::identityAuthor(); m_document->addPageAnnotation( m_lockedItem->pageNumber(), annotation ); }