--- a/Utilities/SingleApplication.py Thu Aug 12 10:11:06 2010 +0200 +++ b/Utilities/SingleApplication.py Thu Aug 12 16:11:13 2010 +0200 @@ -7,7 +7,6 @@ Module implementing the single application server and client. """ -from PyQt4.QtCore import SIGNAL from PyQt4.QtNetwork import QLocalServer, QLocalSocket class SingleApplicationServer(QLocalServer): @@ -79,7 +78,7 @@ """ if self.qsock is not None: self.qsock.readyRead[()].disconnect(self.__parseLine) - self.disconnect(self.qsock, SIGNAL('disconnected()'), self.__disconnected) + self.qsock.disconnected.disconnect(self.__disconnected) self.qsock = None @@ -164,4 +163,4 @@ @return error string for the last error (string) """ - return self.sock.errorString() \ No newline at end of file + return self.sock.errorString()