From 9118e0177541b4b7f63386ea4ff8512f81c6746b Mon Sep 17 00:00:00 2001 From: SHooZ Date: Tue, 2 May 2017 20:59:27 +0300 Subject: [PATCH] Set dark style as default in load screen --- toxygen/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toxygen/main.py b/toxygen/main.py index ea858d4..8d2cee9 100644 --- a/toxygen/main.py +++ b/toxygen/main.py @@ -59,6 +59,10 @@ class Toxygen: if platform.system() == 'Linux': QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads) + with open(curr_directory() + '/styles/dark_style.qss') as fl: + style = fl.read() + app.setStyleSheet(style) + encrypt_save = toxes.ToxES() if self.path is not None: