Fix compilation with Qt < 5.15

parent ac7fc973
Pipeline #36952 passed with stage
in 21 minutes and 4 seconds
......@@ -115,7 +115,11 @@ void MarkerDialog::slotUpdateThumb()
QImage MarkerDialog::markerImage() const
{
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
return clip_thumb->pixmap()->toImage();
#else
return clip_thumb->pixmap(Qt::ReturnByValue).toImage();
#endif
}
CommentedTime MarkerDialog::newMarker()
......
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