Set dark style as default in load screen
This commit is contained in:
parent
138135b9e9
commit
9118e01775
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue