1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +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 #!/bin/bash
lupdate ../src/plugins/TestPlugin/TestPlugin.pro -no-obsolete cd ../src/plugins
lupdate ../src/plugins/MouseGestures/MouseGestures.pro -no-obsolete for pluginPro in */*.pro
do
lupdate ../src/plugins/AccessKeysNavigation/AccessKeysNavigation.pro -no-obsolete lupdate $pluginPro -no-obsolete
done
read -p "Press [ENTER] to close terminal" read -p "Press [ENTER] to close terminal"
exit exit

View File

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

View File

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

View File

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