Skip to content

Fix build with loadThemeCursor templates

David Edmundson requested to merge work/fix_build_fedora into Plasma/5.19

WaylandCursorImage::loadThemeCursor(const T &shape) uses templates. These templates are used by input.cpp but the deifnition is in pointer_input.cpp

On some setups this creates a compilation problem.

This patch introduces an explicit non-templated declaration with the defintion explicitly complied into the same class.

In master this has been refactored away anyway, so this is a minimal patch to make things work in the least invasive way.

BUG: 423052

Edited by David Edmundson

Merge request reports

Loading