opening the browser
This commit is contained in:
parent
80bf6388c9
commit
a1dc9d4923
2 changed files with 14 additions and 2 deletions
|
@ -34,5 +34,5 @@ class WebViewCreator(QtGui.QWidget):
|
|||
|
||||
|
||||
def load_finished(self, ok):
|
||||
self.view.page().mainFrame().evaluateJavaScript("OS_TYPE = 'linux';")
|
||||
self.view.page().mainFrame().evaluateJavaScript("var OS_TYPE = 'linux';")
|
||||
self.delegate.load_finished(ok)
|
||||
|
|
Reference in a new issue