summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/application.cpp b/src/application.cpp
index d66e290f..5e7cbd57 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -228,7 +228,6 @@ int Application::newInstance()
}
}
-
if(isFirstLoad)
{
// give me some time to do the other things..
@@ -439,13 +438,13 @@ void Application::loadResolvedUrl(ThreadWeaver::Job *job)
KUrl url = threadedJob->url();
WebView *view = threadedJob->view();
- // Bye and thanks :)
- delete threadedJob;
-
if (view)
{
view->load(url);
}
+
+ // Bye and thanks :)
+ delete threadedJob;
}