Commit 56c6d592 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Revert "Change depreciated orientation() to angleDelta()"

I attributed this to the wrong person.

This reverts commit e8b66b5b.
parent e8b66b5b
......@@ -2700,7 +2700,7 @@ void TerminalDisplay::mouseDoubleClickEvent(QMouseEvent* ev)
void TerminalDisplay::wheelEvent(QWheelEvent* ev)
{
// Only vertical scrolling is supported
if (ev->angleDelta().x() != 0) {
if (ev->orientation() != Qt::Vertical) {
return;
}
......
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