Commit caeca72a authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg
Browse files

Change depreciated orientation() to angleDelta()

parent 56c6d592
......@@ -2700,7 +2700,7 @@ void TerminalDisplay::mouseDoubleClickEvent(QMouseEvent* ev)
void TerminalDisplay::wheelEvent(QWheelEvent* ev)
// Only vertical scrolling is supported
if (ev->orientation() != Qt::Vertical) {
if (ev->angleDelta().x() != 0) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment