forked from openlp/openlp
print form constructor
This commit is contained in:
parent
83df3c293a
commit
1328ca62d2
@ -118,7 +118,7 @@ class PrintServiceForm(QtGui.QDialog, Ui_PrintServiceDialog):
|
||||
"""
|
||||
Constructor
|
||||
"""
|
||||
QtGui.QDialog.__init__(self, self.main_window)
|
||||
QtGui.QDialog.__init__(self, Registry().get('main_window'))
|
||||
self.printer = QtGui.QPrinter()
|
||||
self.print_dialog = QtGui.QPrintDialog(self.printer, self)
|
||||
self.document = QtGui.QTextDocument()
|
||||
|
Loading…
Reference in New Issue
Block a user