def loggedIn(): UDP = False port = 6009 while True: UDP = controller.connectUdp(port) port = port - 1 if UDP == True or port < 6006: break window = GGPOWindow() window.setWindowIcon(QtGui.QIcon(":/assets/icon-128.png")) window.setController(controller) window.restorePreference() controller.sendListChannels() window.show() window.raise_() window.activateWindow()
def loggedIn(): UDP=False port=6009 while True: UDP = controller.connectUdp(port) port=port-1 if (UDP==True or port < 6006): break window = GGPOWindow() window.setWindowIcon(QtGui.QIcon(':/assets/icon-128.png')) window.setController(controller) window.restorePreference() controller.sendListChannels() window.show() window.raise_() window.activateWindow()
def loggedIn(): if started == False: window = GGPOWindow() window.setWindowIcon(QtGui.QIcon(':/assets/icon-128.png')) window.setController(controller) window.restorePreference() controller.sendListChannels() window.show() window.raise_() window.activateWindow()
def loggedIn(): if started==False: window = GGPOWindow() window.setWindowIcon(QtGui.QIcon(':/assets/icon-128.png')) window.setController(controller) window.restorePreference() controller.sendListChannels() window.show() window.raise_() window.activateWindow()