diff --git a/vnpy/trader/uiQt.py b/vnpy/trader/uiQt.py index d26813b6..2fa5ae4a 100644 --- a/vnpy/trader/uiQt.py +++ b/vnpy/trader/uiQt.py @@ -25,7 +25,7 @@ def createQApp(): if globalSetting['darkStyle']: try: import qdarkstyle - qApp.setStyleSheet(qdarkstyle.load_stylesheet()) + qApp.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5()) except : print "Unexpected error:", sys.exc_info()[0]