1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-28 15:56:33 -04:00

APT Demod: fixed Qt < 5.13 compilation issue

This commit is contained in:
f4exb 2021-04-23 18:58:38 +02:00
parent 274cf14afd
commit f1c119a450

View File

@ -144,7 +144,11 @@ bool APTDemodGUI::handleMessage(const Message& message)
m_pixmap.convertFromImage(m_image);
m_pixmap.scroll(0, 1, 0, 0, m_image.width(), m_image.height()-1); // scroll down 1 line
m_image = m_pixmap.toImage();
#if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
m_image.convertTo(imageFormat); // restore format
#else
m_image = m_image.convertToFormat(imageFormat);
#endif
}
}