mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-01-28 17:08:25 +00:00
Added icon on taskbar for Windows
This commit is contained in:
parent
923d57a2b6
commit
05e62f81e8
|
@ -18,6 +18,11 @@ from deemix.utils.localpaths import getConfigFolder
|
||||||
|
|
||||||
server_lock = Lock()
|
server_lock = Lock()
|
||||||
|
|
||||||
|
if sys.platform == "win32":
|
||||||
|
import ctypes
|
||||||
|
myappid = 'RemixDev.deemix'
|
||||||
|
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
|
||||||
|
|
||||||
class LoginWindow(QDialog):
|
class LoginWindow(QDialog):
|
||||||
class CustomPage(QWebEnginePage):
|
class CustomPage(QWebEnginePage):
|
||||||
def acceptNavigationRequest(self, url, type, main):
|
def acceptNavigationRequest(self, url, type, main):
|
||||||
|
|
Loading…
Reference in a new issue