summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkowner.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-08-01 11:35:06 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commit4b24758d7230504daedc3d537f233f02244641bb (patch)
tree27206d0a12e5052d7b4bffe76b48e1e1cca31985 /src/bookmarks/bookmarkowner.cpp
parentLet WebTab compile (and everything NOT commented out...) (diff)
downloadrekonq-4b24758d7230504daedc3d537f233f02244641bb.tar.xz
Clean up WebWindow inserting the WebTab there.
Diffstat (limited to 'src/bookmarks/bookmarkowner.cpp')
-rw-r--r--src/bookmarks/bookmarkowner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/bookmarkowner.cpp b/src/bookmarks/bookmarkowner.cpp
index 1c117824..aba4ec69 100644
--- a/src/bookmarks/bookmarkowner.cpp
+++ b/src/bookmarks/bookmarkowner.cpp
@@ -127,7 +127,7 @@ QString BookmarkOwner::currentTitle() const
QString BookmarkOwner::currentUrl() const
{
- return rApp->tabWindow()->currentWebWindow()->url().toString();
+ return rApp->tabWindow()->currentWebWindow()->url().url();
}
@@ -141,7 +141,7 @@ QList< QPair<QString, QString> > BookmarkOwner::currentBookmarkList() const
{
QPair<QString, QString> item;
item.first = view->webWindow(i)->title();
- item.second = view->webWindow(i)->url().toString();
+ item.second = view->webWindow(i)->url().url();
bkList << item;
}