diff --git a/openlp/core/ui/printserviceform.py b/openlp/core/ui/printserviceform.py index c3df3afec..e8f35ecab 100644 --- a/openlp/core/ui/printserviceform.py +++ b/openlp/core/ui/printserviceform.py @@ -31,7 +31,7 @@ from openlp.core.common.applocation import AppLocation from openlp.core.common.i18n import UiStrings, translate from openlp.core.common.mixins import RegistryProperties from openlp.core.common.registry import Registry -from openlp.core.lib import get_text_file_string, image_to_byte +from openlp.core.lib import get_text_file_string from openlp.core.ui.printservicedialog import Ui_PrintServiceDialog, ZoomSize @@ -207,8 +207,6 @@ class PrintServiceForm(QtWidgets.QDialog, Ui_PrintServiceDialog, RegistryPropert div = self._add_element('div', class_id='item', parent=body) # Add the title of the service item. item_title = self._add_element('h2', parent=div, class_id='itemTitle') - img = image_to_byte(item.icon.pixmap(20, 20).toImage()) - self._add_element('img', parent=item_title, attribute=('src', 'data:image/jpeg;base64, ' + img)) self._add_element('span', ' ' + html.escape(item.get_display_title()), item_title) if self.slide_text_check_box.isChecked(): # Add the text of the service item. diff --git a/tests/README.txt b/tests/README.txt index a3fe6c256..54255a5b3 100644 --- a/tests/README.txt +++ b/tests/README.txt @@ -22,10 +22,3 @@ To run the tests, navigate to the root directory of the OpenLP project, and then pytest -v tests -Or, to run only the functional tests, run the following command:: - - pytest -v tests/functional - -Or, to run only a particular test suite within a file, run the following command:: - - pytest -v tests/functional/openlp_core/test_app.py