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/application.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/application.cpp')
-rw-r--r-- | src/application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 16b24ba0..902c2946 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -94,7 +94,7 @@ int Application::newInstance() { KUrl url = MainWindow::guessUrlFromString(args->arg(i)); newWebView(); - mainWindow()->mainView()->loadUrlInCurrentTab(url); + mainWindow()->loadUrl(url); } args->clear(); } |