summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp30
-rw-r--r--src/application.h5
2 files changed, 0 insertions, 35 deletions
diff --git a/src/application.cpp b/src/application.cpp
index e9f0561d..05004f30 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -363,36 +363,6 @@ AdBlockManager *Application::adblockManager()
}
-// WebView *Application::createView(const Rekonq::OpenType &type)
-// {
-// // first, create the webview(s) to not let hangs UI..
-// WebTab *tab = 0;
-// MainWindow *w = 0;
-// w = (type == Rekonq::NewWindow)
-// ? newMainWindow()
-// : mainWindow();
-//
-// switch(type)
-// {
-// case Rekonq::SettingOpenTab:
-// tab = w->mainView()->newWebTab(!ReKonfig::openTabsBack(), ReKonfig::openTabsNearCurrent());
-// break;
-// case Rekonq::NewCurrentTab:
-// tab = w->mainView()->newWebTab(true);
-// break;
-// case Rekonq::NewBackTab:
-// tab = w->mainView()->newWebTab(false, ReKonfig::openTabsNearCurrent());
-// break;
-// case Rekonq::NewWindow:
-// case Rekonq::CurrentTab:
-// tab = w->mainView()->currentWebTab();
-// break;
-// };
-//
-// return tab->view();
-// }
-
-
void Application::loadResolvedUrl(ThreadWeaver::Job *job)
{
FilterUrlJob *threadedJob = static_cast<FilterUrlJob *>(job);
diff --git a/src/application.h b/src/application.h
index a326015d..4b951ded 100644
--- a/src/application.h
+++ b/src/application.h
@@ -139,11 +139,6 @@ private slots:
void loadResolvedUrl(ThreadWeaver::Job *);
private:
-
- // loadUrl Utilities
-// WebView *createView(const Rekonq::OpenType &);
-// KUrl resolvUrl(const QString &);
-
static QPointer<HistoryManager> s_historyManager;
static QPointer<BookmarkProvider> s_bookmarkProvider;
static QPointer<SessionManager> s_sessionManager;