QWheelEvent.orientation() is obsolete, used angleDelta() instead
This commit is contained in:
parent
284a915976
commit
1740b99492
|
@ -56,7 +56,7 @@ class MessageView(QtWidgets.QTextBrowser):
|
|||
if (
|
||||
(QtWidgets.QApplication.queryKeyboardModifiers() &
|
||||
QtCore.Qt.ControlModifier) == QtCore.Qt.ControlModifier and
|
||||
event.orientation() == QtCore.Qt.Vertical
|
||||
event.angleDelta().y() != 0
|
||||
):
|
||||
zoom = self.currentFont().pointSize() * 100 / self.defaultFontPointSize
|
||||
QtWidgets.QApplication.activeWindow().statusbar.showMessage(
|
||||
|
|
Reference in New Issue
Block a user