From 0f43a84ff3075306da06b7b34955c191d8ec2d22 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 21 Jun 2020 07:17:35 +0000 Subject: [PATCH] Fix Image Backgounds and remove Image Manager Resolves ##480 --- openlp/core/ui/mainwindow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index d5580c93c..baa9a5eaa 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -42,6 +42,7 @@ from openlp.core.common.i18n import LanguageManager, UiStrings, translate from openlp.core.common.mixins import LogMixin, RegistryProperties from openlp.core.common.path import create_paths from openlp.core.common.registry import Registry +from openlp.core.common.settings import Settings from openlp.core.display.screens import ScreenList from openlp.core.lib.plugin import PluginStatus from openlp.core.lib.ui import create_action @@ -868,7 +869,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow, LogMixin, RegistryPropert create_paths(temp_dir_path) temp_config_path = temp_dir_path / import_file_path.name shutil.copyfile(import_file_path, temp_config_path) - import_settings = QtCore.QSettings(str(temp_config_path), QtCore.QSettings.IniFormat) + import_settings = Settings(str(temp_config_path), QtCore.QSettings.IniFormat) self.log_info('hook upgrade_plugin_settings') self.plugin_manager.hook_upgrade_plugin_settings(import_settings)