svn commit: r530688 - head/games/pentobi/files
Tobias C. Berner
tcberner at FreeBSD.org
Sat Apr 4 16:25:45 UTC 2020
Author: tcberner
Date: Sat Apr 4 16:18:30 2020
New Revision: 530688
URL: https://svnweb.freebsd.org/changeset/ports/530688
Log:
games/pentobi: Prepare for Qt5-5.14
PR: 244964
Added:
head/games/pentobi/files/patch-src_pentobi_MainWindow.cpp (contents, props changed)
Added: head/games/pentobi/files/patch-src_pentobi_MainWindow.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pentobi/files/patch-src_pentobi_MainWindow.cpp Sat Apr 4 16:18:30 2020 (r530688)
@@ -0,0 +1,14 @@
+--- src/pentobi/MainWindow.cpp.orig 2020-04-04 16:11:20 UTC
++++ src/pentobi/MainWindow.cpp
+@@ -3453,7 +3453,11 @@ void MainWindow::veryGoodMove(bool checked)
+
+ void MainWindow::wheelEvent(QWheelEvent* event)
+ {
++#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0))
+ int delta = event->delta() / 8 / 15;
++#else
++ int delta = event->angleDelta().y() / 8 / 15;
++#endif
+ if (delta > 0)
+ {
+ if (! m_guiBoard->getSelectedPiece().is_null())
More information about the svn-ports-head
mailing list