Set dark style as default in load screen

This commit is contained in:
SHooZ 2017-05-02 20:59:27 +03:00
parent 138135b9e9
commit 9118e01775

View File

@ -59,6 +59,10 @@ class Toxygen:
if platform.system() == 'Linux': if platform.system() == 'Linux':
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads) 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() encrypt_save = toxes.ToxES()
if self.path is not None: if self.path is not None: