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:
parent
b0f209b1da
commit
8a5880c77d
@ -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
|
||||||
|
@ -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);
|
||||||
|
@ -45,4 +45,3 @@
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
||||||
|
@ -60,4 +60,3 @@
|
|||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user