summaryrefslogtreecommitdiff
path: root/src/rekonqrun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rekonqrun.cpp')
-rw-r--r--src/rekonqrun.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rekonqrun.cpp b/src/rekonqrun.cpp
index ecabe9bc..47ff7f27 100644
--- a/src/rekonqrun.cpp
+++ b/src/rekonqrun.cpp
@@ -50,7 +50,7 @@ RekonqRun::~RekonqRun()
}
-void RekonqRun::loadUrl(const KUrl& url, const Rekonq::BrowserArguments& browserArgs)
+void RekonqRun::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
{
if (url.isEmpty())
return;
@@ -113,7 +113,7 @@ void RekonqRun::loadUrl(const KUrl& url, const Rekonq::BrowserArguments& browser
WebView *webView = m_window->newTab();
m_window->currentUrlBar()->setUrl(loadingUrl.prettyUrl());
- switch(browserArgs)
+ switch(type)
{
case Rekonq::Default:
if (!Rekonq::openTabsBack())
@@ -136,9 +136,9 @@ void RekonqRun::loadUrl(const KUrl& url, const Rekonq::BrowserArguments& browser
}
-void RekonqRun::loadUrl(const QString& urlString, const Rekonq::BrowserArguments& browserArgs)
+void RekonqRun::loadUrl(const QString& urlString, const Rekonq::OpenType& type)
{
- return loadUrl( guessUrlFromString(urlString), browserArgs );
+ return loadUrl( guessUrlFromString(urlString), type );
}