Splash screen fix for Linux OS

This commit is contained in:
Marco
2019-05-17 23:53:39 +02:00
parent b01a1b5e34
commit 7c0006e80a

View File

@@ -3,7 +3,7 @@ from functools import partial
import webbrowser import webbrowser
import os import os
import sys import sys
from time import sleep from time import sleep, time
from pandas import read_csv from pandas import read_csv
@@ -1444,8 +1444,11 @@ if __name__ == '__main__':
# img = QPixmap(":/icons/Artemis3.500px.png") # img = QPixmap(":/icons/Artemis3.500px.png")
# splash = QSplashScreen(img) # splash = QSplashScreen(img)
# splash.show() # splash.show()
# sleep(2) # start= time()
# while time()-start < 2:
# sleep(0.001)
# my_app.processEvents()
# splash.close()
artemis = Artemis() artemis = Artemis()
artemis.show() artemis.show()
# splash.finish(w) sys.exit(my_app.exec_())
sys.exit(my_app.exec_())