Skip to content

Commit e1644d6

Browse files
committed
kdiff3: fix scrolling
1 parent 29287ef commit e1644d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rdparty/kdiff3/pdiff.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ bool KDiff3App::eventFilter(QObject *o, QEvent *e)
791791

792792
QPoint d = w->pixelDelta();
793793

794-
if (d.isNull()) {
794+
if (w->source() != Qt::MouseEventSynthesizedBySystem) {
795795
d = - w->angleDelta() / 120 * QApplication::wheelScrollLines();
796796
}
797797

0 commit comments

Comments
 (0)