1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Plugins: Fixed disabling all plugins when saving preferences

- and not going to extensions tab
This commit is contained in:
nowrep 2012-07-09 12:47:27 +02:00
parent b0f209b1da
commit 8a5880c77d
4 changed files with 118 additions and 115 deletions

View File

@ -1,10 +1,11 @@
#!/bin/bash
lupdate ../src/plugins/TestPlugin/TestPlugin.pro -no-obsolete
cd ../src/plugins
lupdate ../src/plugins/MouseGestures/MouseGestures.pro -no-obsolete
lupdate ../src/plugins/AccessKeysNavigation/AccessKeysNavigation.pro -no-obsolete
for pluginPro in */*.pro
do
lupdate $pluginPro -no-obsolete
done
read -p "Press [ENTER] to close terminal"
exit

View File

@ -101,6 +101,10 @@ void PluginsManager::removeWhitelist()
void PluginsManager::save()
{
if (!m_loaded) {
return;
}
QStringList allowedPlugins;
for (int i = 0; i < ui->list->count(); i++) {
QListWidgetItem* item = ui->list->item(i);

View File

@ -45,4 +45,3 @@
</message>
</context>
</TS>

View File

@ -60,4 +60,3 @@
</message>
</context>
</TS>