1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

QML: Auto start support. Better footbar text

This commit is contained in:
Bumsik Kim 2018-05-10 15:57:25 -04:00
parent 3a76aa7ef7
commit b51ad567bb
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
2 changed files with 72 additions and 18 deletions

View file

@ -467,6 +467,9 @@ class Backend(QObject):
if not self.virtScreenCreated:
print("Virtual Screen not crated.")
return
if self.vncState is not Backend.VNCState.OFF:
print("VNC Server is already running.")
return
# regex used in callbacks
re_connection = re.compile(r"^.*Got connection from client.*$", re.M)
# define callbacks