Skip to content

Commit

Permalink
When using threads child should be in same as parent thread. So we ca…
Browse files Browse the repository at this point in the history
…n't use ghost in multithreaded app when using "main" app.
  • Loading branch information
pohmelie committed Jan 2, 2015
1 parent 596ddbf commit cf785fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ghost/ghost.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ class GhostWebPage(QWebPage):
"""
def __init__(self, app, ghost):
self.ghost = ghost
super(GhostWebPage, self).__init__(app)
# super(GhostWebPage, self).__init__(app)
super(GhostWebPage, self).__init__()

def chooseFile(self, frame, suggested_file=None):
filename = Ghost._upload_file
Expand Down

0 comments on commit cf785fe

Please sign in to comment.