Update resource file

bzr-revno: 2827
This commit is contained in:
Tomas Groth 2018-08-04 23:25:14 +02:00
parent afef6b7aba
commit 0bef12612f

View File

@ -37,19 +37,19 @@
qt_resource_data = "\
@@ -71953,9 +71971,14 @@
"
qt_resource_struct = qt_resource_struct_v2
def qInitResources():
+ """
+ Initialise OpenLP resources at application startup.
+ """
QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
+ """
+ Cleanup OpenLP resources when the application shuts down.
+ """
QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
-qInitResources()