Skip to content

Commit 9677320

Browse files
committed
fixed 打包后 hikyuutdx 报错
1 parent 529566e commit 9677320

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

hikyuu/gui/HikyuuTDX.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -806,11 +806,7 @@ def start():
806806
logging.getLogger("requests").setLevel(logging.WARNING)
807807
logging.getLogger("urllib3").setLevel(logging.WARNING)
808808
app = QApplication(sys.argv)
809-
use_dark_style = False # 使用暗黑主题
810-
if use_dark_style:
811-
import qdarkstyle
812-
app.setStyleSheet(qdarkstyle.load_stylesheet(qt_api='pyqt5'))
813-
myWin = MyMainWindow(capture_output=True, use_dark_style=use_dark_style)
809+
myWin = MyMainWindow(capture_output=True)
814810
myWin.show()
815811
sys.exit(app.exec())
816812

0 commit comments

Comments
 (0)