Add an applicationName property to Application

This commit is contained in:
Arjen Hiemstra 2014-12-18 12:07:36 +01:00
parent 821f9ca0e1
commit b2cced2772

View file

@ -12,7 +12,8 @@ import os.path
class PrinterApplication(QtApplication): class PrinterApplication(QtApplication):
def __init__(self): def __init__(self):
super(PrinterApplication, self).__init__() super().__init__()
self.setApplicationName('printer')
def run(self): def run(self):
self._plugin_registry.loadPlugins({ "type": "Logger"}) self._plugin_registry.loadPlugins({ "type": "Logger"})