summaryrefslogtreecommitdiff
path: root/kwebapp/kwebmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwebapp/kwebmain.cpp')
-rw-r--r--kwebapp/kwebmain.cpp4
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)
{