diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-09-04 22:19:40 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-09-04 22:19:40 +0200 |
commit | 362ebca19e80d51673b2f4ccdf498a1a0ff24156 (patch) | |
tree | 6147883f008ca706e77c760236071505c7779c89 /kwebapp | |
parent | Bump build requirements to kdelibs 4.8.3 (diff) | |
download | rekonq-362ebca19e80d51673b2f4ccdf498a1a0ff24156.tar.xz |
Stupid me, forgot to enable WebKit features on kwebapp...
BUG: 306185
Diffstat (limited to 'kwebapp')
-rw-r--r-- | kwebapp/kwebmain.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kwebapp/kwebmain.cpp b/kwebapp/kwebmain.cpp index 815c4dc9..8c324fa9 100644 --- a/kwebapp/kwebmain.cpp +++ b/kwebapp/kwebmain.cpp @@ -61,6 +61,10 @@ int main(int argc, char **argv) QWebSettings::setIconDatabasePath(KStandardDirs::locateLocal("cache", "kwebapp.favicons/")); + QWebSettings::globalSettings()->setAttribute(QWebSettings::DnsPrefetchEnabled, true); + QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true); + QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptCanOpenWindows, true); + KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); if (args->count() != 1) { |