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:
parent
b44c9e4795
commit
72077ab496
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user