From 72077ab49610ff6f90bafb22eba71f08359d4119 Mon Sep 17 00:00:00 2001 From: nowrep Date: Thu, 22 Dec 2011 23:43:05 +0100 Subject: [PATCH] Setting Click2Flash enabled by default again to reduce Flash crashes. - with latest Click2Flash commit, this plugin should be fully working on every page, thus we enable it by default again to prevent crashes from Adobe Flash content on page --- src/plugins/pluginproxy.cpp | 2 +- src/preferences/pluginslist.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/pluginproxy.cpp b/src/plugins/pluginproxy.cpp index 1d79ce2be..9a43f663c 100644 --- a/src/plugins/pluginproxy.cpp +++ b/src/plugins/pluginproxy.cpp @@ -93,7 +93,7 @@ void PluginProxy::c2f_loadSettings() QSettings settings(mApp->getActiveProfilPath() + "settings.ini", QSettings::IniFormat); settings.beginGroup("ClickToFlash"); c2f_whitelist = settings.value("whitelist", QStringList()).toStringList(); - c2f_enabled = settings.value("Enabled", false).toBool(); + c2f_enabled = settings.value("Enabled", true).toBool(); settings.endGroup(); } diff --git a/src/preferences/pluginslist.cpp b/src/preferences/pluginslist.cpp index ac810f1a9..28cee3b97 100644 --- a/src/preferences/pluginslist.cpp +++ b/src/preferences/pluginslist.cpp @@ -47,7 +47,7 @@ PluginsList::PluginsList(QWidget* parent) settings.beginGroup("ClickToFlash"); QStringList whitelist = mApp->plugins()->c2f_getWhiteList(); - ui->allowClick2Flash->setChecked(settings.value("Enable", false).toBool()); + ui->allowClick2Flash->setChecked(settings.value("Enable", true).toBool()); settings.endGroup(); foreach(QString site, whitelist) { QTreeWidgetItem* item = new QTreeWidgetItem(ui->whitelist);