Splash screen fix for Linux OS
This commit is contained in:
11
artemis.py
11
artemis.py
@@ -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_())
|
|
||||||
Reference in New Issue
Block a user