From 277d2b1287da8aced04d2c6aeb7226b40af72fb5 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sun, 27 May 2018 23:58:19 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=E8=BF=90=E8=A1=8C=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=88=B0Anaconda=205.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/VnTrader/run.py | 3 +-- vnpy/trader/uiQt.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/VnTrader/run.py b/examples/VnTrader/run.py index f09170eb..24a54f97 100644 --- a/examples/VnTrader/run.py +++ b/examples/VnTrader/run.py @@ -27,7 +27,7 @@ if system == 'Linux': from vnpy.trader.gateway import xtpGateway elif system == 'Windows': from vnpy.trader.gateway import (femasGateway, xspeedGateway, - futuGateway, secGateway) + secGateway) # 加载上层应用 from vnpy.trader.app import (riskManager, ctaStrategy, spreadTrading) @@ -54,7 +54,6 @@ def main(): me.addGateway(femasGateway) me.addGateway(xspeedGateway) me.addGateway(secGateway) - me.addGateway(futuGateway) if system == 'Linux': me.addGateway(xtpGateway) diff --git a/vnpy/trader/uiQt.py b/vnpy/trader/uiQt.py index c31e2bce..6001457e 100644 --- a/vnpy/trader/uiQt.py +++ b/vnpy/trader/uiQt.py @@ -30,7 +30,7 @@ def createQApp(): if globalSetting['darkStyle']: try: import qdarkstyle - qApp.setStyleSheet(qdarkstyle.load_stylesheet(pyside=False)) + qApp.setStyleSheet(qdarkstyle.load_stylesheet_from_environment()) except ImportError: pass