diff options
| author | tassaron | 2017-07-09 14:31:19 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-09 14:31:19 -0400 |
| commit | f6fbc8d2423ac5ae683a7613b53648db3e02e323 (patch) | |
| tree | 218c5a056349f9eb1cc0b7952a09b254f1962b95 /src/preview_thread.py | |
| parent | 94d4acc1f4f4abe4029e8f9c050932b67cae8cec (diff) | |
a basic Sound component for mixing sounds
to be greatly expanded...
Diffstat (limited to 'src/preview_thread.py')
| -rw-r--r-- | src/preview_thread.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/preview_thread.py b/src/preview_thread.py index 95a26ec..a72845b 100644 --- a/src/preview_thread.py +++ b/src/preview_thread.py @@ -69,10 +69,13 @@ class Worker(QtCore.QObject): str(component), detail=str(e), icon='Warning', - parent=None # mainwindow is in a different thread + parent=None # MainWindow is in a different thread + ) + self.imageCreated.emit( + QtGui.QImage(ImageQt( + FloodFrame(width, height, (0, 0, 0, 0)) + )) ) - from frame import BlankFrame - self.imageCreated.emit(ImageQt(BlankFrame)) self.error.emit() break else: |
