diff --git a/gameview.py b/gameview.py index 5d961d7..7137b05 100644 --- a/gameview.py +++ b/gameview.py @@ -199,15 +199,15 @@ class ChatLogs(QtGui.QTextEdit): def mouseMoveEvent(self, e): super(ChatLogs, self).mouseMoveEvent(e) self.anchor = self.anchorAt(e.pos()) - if self.anchor: - QtGui.QApplication.setOverrideCursor(QtCore.Qt.PointingHandCursor) - else: - QtGui.QApplication.setOverrideCursor(QtCore.Qt.ArrowCursor) + # if self.anchor: + # QtGui.QApplication.setOverrideCursor(QtCore.Qt.PointingHandCursor) + # else: + # QtGui.QApplication.setOverrideCursor(QtCore.Qt.ArrowCursor) def mouseReleaseEvent(self, e): if self.anchor: QtGui.QDesktopServices.openUrl(QtCore.QUrl(self.anchor)) - QtGui.QApplication.setOverrideCursor(QtCore.Qt.ArrowCursor) + # QtGui.QApplication.setOverrideCursor(QtCore.Qt.ArrowCursor) self.anchor = None def __del__(self): @@ -233,9 +233,9 @@ class ChatLogs(QtGui.QTextEdit): else: self.logfile.write(text.toUtf8()+"\n") - if "http" in text: - text = unicode(text) # Get rid of QStrings - text = re.sub(URL_REGEX, r'\g<0>', text) + # if "http" in text: + # text = unicode(text) # Get rid of QStrings + # text = re.sub(URL_REGEX, r'\g<0>', text) super(ChatLogs, self).append(text)