translations and bug fix
This commit is contained in:
parent
59452aa525
commit
c865ae4df6
6 changed files with 582 additions and 408 deletions
|
|
@ -11,6 +11,7 @@ from mainscreen import MainWindow
|
|||
from callbacks import init_callbacks
|
||||
from util import curr_directory, program_version
|
||||
import styles.style
|
||||
import platform
|
||||
import toxencryptsave
|
||||
from passwordscreen import PasswordScreen, UnlockAppScreen, SetProfilePasswordScreen
|
||||
from plugin_support import PluginLoader
|
||||
|
|
@ -52,6 +53,9 @@ class Toxygen:
|
|||
app.setWindowIcon(QtGui.QIcon(curr_directory() + '/images/icon.png'))
|
||||
self.app = app
|
||||
|
||||
if platform.system() == 'Linux':
|
||||
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_X11InitThreads)
|
||||
|
||||
# application color scheme
|
||||
with open(curr_directory() + '/styles/style.qss') as fl:
|
||||
dark_style = fl.read()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue