Skip to content

Commit

Permalink
don't error if QT_PLUGIN_PATH not set
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Feb 5, 2017
1 parent e46ee63 commit 945737a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function qt_eventloop(QtCore::PyObject, sec::Real=50e-3)
instance = QtCore["QCoreApplication"]["instance"]
AllEvents = QtCore["QEventLoop"]["AllEvents"]
processEvents = QtCore["QCoreApplication"]["processEvents"]
pop!(ENV, "QT_PLUGIN_PATH") # clean up environment
pop!(ENV, "QT_PLUGIN_PATH", "") # clean up environment
maxtime = PyObject(50)
install_doevent(sec) do async
app = pycall(instance, PyObject)
Expand Down

0 comments on commit 945737a

Please sign in to comment.