aboutsummaryrefslogtreecommitdiff
path: root/preview_thread.py
diff options
context:
space:
mode:
authorMaximilian Siess2017-04-21 01:00:17 +0200
committerMaximilian Siess2017-04-21 01:00:17 +0200
commit4aef5bfdb7f04dde13b1c6a94172824ce143be6e (patch)
tree9677c2cf51695134e6ffbfc288e33fb74a7ba667 /preview_thread.py
parent018f5900f0703ad8a2a962d076ac291b0805657d (diff)
changed differentiater of text alignment from string to int
Diffstat (limited to 'preview_thread.py')
-rw-r--r--preview_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/preview_thread.py b/preview_thread.py
index 8f759be..9dc7e4c 100644
--- a/preview_thread.py
+++ b/preview_thread.py
@@ -19,7 +19,7 @@ class Worker(QtCore.QObject):
self.queue = queue
- @pyqtSlot(str, str, QtGui.QFont, int, str, int, int)
+ @pyqtSlot(str, str, QtGui.QFont, int, int, int, int)
def createPreviewImage(self, backgroundImage, titleText, titleFont, fontSize, alignment, xOffset, yOffset):
# print('worker thread id: {}'.format(QtCore.QThread.currentThreadId()))
dic = {