summaryrefslogtreecommitdiff
path: root/src/bookmarks.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-24 02:20:44 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-24 02:20:44 +0200
commitc3ff1138d5d62e7092abb9d66f7f26097014f6e8 (patch)
tree096c858597df0470d8914f14c322f8037f57b48d /src/bookmarks.cpp
parentRemoved rekonqrun class and provided slots in Application one. (diff)
downloadrekonq-c3ff1138d5d62e7092abb9d66f7f26097014f6e8.tar.xz
Big Big Big Commit!
Refactored loadUrl code to divide UI classes from WEB classes. We now have two loadUrl methods in the Application class to load (hopefully) every kind of (k)url..
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);
}
}