summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold Dumas <contact@arnolddumas.fr>2014-09-26 18:04:00 (GMT)
committerArnold Dumas <contact@arnolddumas.fr>2014-09-26 18:04:00 (GMT)
commitf8f90b15b307d7c67438a8eba68173e960ade8f8 (patch)
tree9956409661b43f173c45975b922de254342c0f82
parentf4badbc117bf4e801c333e84b1390a9892b3cf51 (diff)
Port away from KGlobal::caption().
-rw-r--r--core/bookmarkmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bookmarkmanager.cpp b/core/bookmarkmanager.cpp
index 6a25639..06bca91 100644
--- a/core/bookmarkmanager.cpp
+++ b/core/bookmarkmanager.cpp
@@ -16,7 +16,7 @@
#include <kbookmarkmanager.h>
#include <kbookmarkmenu.h>
#include <QtCore/QDebug>
-#include <kglobal.h>
+#include <QApplication>
#include <kstandarddirs.h>
#include <kurl.h>
@@ -141,7 +141,7 @@ BookmarkManager::BookmarkManager( DocumentPrivate * document )
d->file = KStandardDirs::locateLocal( "data", "okular/bookmarks.xml" );
d->manager = KBookmarkManager::managerForFile( d->file, "okular" );
- d->manager->setEditorOptions( KGlobal::caption(), false );
+ d->manager->setEditorOptions( QGuiApplication::applicationDisplayName(), false );
d->manager->setUpdate( true );
connect( d->manager, SIGNAL(changed(QString,QString)),
this, SLOT(_o_changed(QString,QString)) );