summaryrefslogtreecommitdiff
path: root/src/bookmarks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks.cpp')
-rw-r--r--src/bookmarks.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp
index 70626b13..c3787ff0 100644
--- a/src/bookmarks.cpp
+++ b/src/bookmarks.cpp
@@ -89,11 +89,9 @@ void BookmarkOwner::openFolderinTabs(const KBookmarkGroup &bm)
{
QList<KUrl> urlList = bm.groupUrlList();
QList<KUrl>::iterator url;
- Application* app = Application::instance();
for (url = urlList.begin(); url != urlList.end(); ++url)
{
- app->newWebView();
- app->mainWindow()->loadUrl(*url);
+ Application::instance()->loadUrl(*url, Rekonq::New);
}
}