summaryrefslogtreecommitdiff
path: root/kwebapp/kwebmain.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-11-10 01:03:40 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-11-10 23:34:02 +0100
commit5424f5b7a49d29a5d2aba0c9dc6165779442796c (patch)
treed17ced13affebc2e1fff1c8b3c9caab622399bb6 /kwebapp/kwebmain.cpp
parentFix BUG:280627 Force QApplication to quit when no more available window (diff)
downloadrekonq-5424f5b7a49d29a5d2aba0c9dc6165779442796c.tar.xz
Web app's icon on kwebapp window
Heavily based on Furkan's patch on rbo REVIEW: 103087
Diffstat (limited to 'kwebapp/kwebmain.cpp')
-rw-r--r--kwebapp/kwebmain.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kwebapp/kwebmain.cpp b/kwebapp/kwebmain.cpp
index 3de5b182..639d1533 100644
--- a/kwebapp/kwebmain.cpp
+++ b/kwebapp/kwebmain.cpp
@@ -55,9 +55,8 @@ int main(int argc, char **argv)
return 0;
}
- WebView *widg = new WebView;
+ WebView *widg = new WebView(QUrl::fromUserInput(args->arg(0)));
widg->show();
- widg->load(QUrl::fromUserInput(args->arg(0)));
args->clear();
return app.exec();