Skip to content

Fix build with Qt versions before 5.12

Wolfgang Bauer requested to merge wbauer/kphotoalbum:master into master

The used QWheelEvent constructor only exists since Qt 5.12, so use an obsolete one instead when building with lower versions.

This is basically a conditional revert of (parts of) commit 35f3a486.

Also, QStringView was introduced in Qt 5.10, use QString instead when compiling with older versions.

Edited by Wolfgang Bauer

Merge request reports

Loading