forked from openlp/openlp
Who forgot the return
This commit is contained in:
parent
32c7663a45
commit
26e80be5b7
@ -732,7 +732,7 @@ class MediaManagerItem(QtGui.QWidget):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -426,7 +426,7 @@ class Plugin(QtCore.QObject):
|
|||||||
Adds the openlp to the class dynamically
|
Adds the openlp to the class dynamically
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -488,7 +488,7 @@ class FirstTimeForm(QtGui.QWizard, Ui_FirstTimeWizard):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -499,7 +499,7 @@ class MainDisplay(Display):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -1381,7 +1381,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -159,7 +159,7 @@ class MediaPlayer(object):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -171,7 +171,7 @@ class PluginForm(QtGui.QDialog, Ui_PluginViewDialog):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -1592,7 +1592,7 @@ class ServiceManager(QtGui.QWidget, ServiceManagerDialog):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -840,7 +840,7 @@ class ThemeManager(QtGui.QWidget):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -324,7 +324,7 @@ class OpenLPWizard(QtGui.QWizard):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -196,7 +196,7 @@ class EditBibleForm(QtGui.QDialog, Ui_EditBibleDialog):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -548,7 +548,7 @@ class BibleDB(QtCore.QObject, Manager):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -306,7 +306,7 @@ class BGExtract(object):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
@ -386,7 +386,7 @@ class BSExtract(object):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
@ -490,7 +490,7 @@ class CWExtract(object):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
@ -684,7 +684,7 @@ class HTTPBible(BibleDB):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -353,7 +353,7 @@ class DuplicateSongRemovalForm(OpenLPWizard):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -530,7 +530,7 @@ class SongMaintenanceForm(QtGui.QDialog, Ui_SongMaintenanceDialog):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
@ -88,7 +88,7 @@ class OpenLyricsExport(object):
|
|||||||
Windows needs to access the application in a dynamic manner.
|
Windows needs to access the application in a dynamic manner.
|
||||||
"""
|
"""
|
||||||
if os.name == u'nt':
|
if os.name == u'nt':
|
||||||
Registry().get(u'application')
|
return Registry().get(u'application')
|
||||||
else:
|
else:
|
||||||
if not hasattr(self, u'_application'):
|
if not hasattr(self, u'_application'):
|
||||||
self._application = Registry().get(u'application')
|
self._application = Registry().get(u'application')
|
||||||
|
Loading…
Reference in New Issue
Block a user