diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-29 01:41:58 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-29 01:41:58 +0200 |
commit | 5fb7d909e87be4ea5a07b7a29271c96b7db4a9b3 (patch) | |
tree | 66446357b150a6aa5e675ec75b65973787fb3ad7 /src/bookmarks.cpp | |
parent | Removed loadUrl method from WebView (diff) | |
download | rekonq-5fb7d909e87be4ea5a07b7a29271c96b7db4a9b3.tar.xz |
Fixed loading Url methods.
Now in all rekonq code we have just a loadUrl method in mainview
(doing the dirty job) and one in mainwindow, provided for convenience.
Every class needing loading an url has a openUrl signal.
Hope this should go well..
Diffstat (limited to 'src/bookmarks.cpp')
-rw-r--r-- | src/bookmarks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp index 94a31015..758ed1c0 100644 --- a/src/bookmarks.cpp +++ b/src/bookmarks.cpp @@ -2,7 +2,7 @@ * * This file is a part of the rekonq project * -* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com> +* Copyright (C) 2008-2009 by Andrea Diamantini <adjam7 at gmail dot com> * Copyright (C) 2009 by Paweł Prażak <pawelprazak at gmail dot com> * * @@ -86,7 +86,7 @@ void BookmarkOwner::openFolderinTabs(const KBookmarkGroup &bm) for(url = urlList.begin(); url != urlList.end(); ++url) { app->newWebView(); - app->mainWindow()->mainView()->loadUrlInCurrentTab(*url); + app->mainWindow()->loadUrl(*url); } } |