1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

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
This commit is contained in:
nowrep 2011-12-22 23:43:05 +01:00
parent b44c9e4795
commit 72077ab496
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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);