Qt: Fix build on Qt < 5.10
Vicki Pfau vi@endrift.com
Sun, 23 Feb 2020 18:10:16 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/CoreController.cpp
→
src/platform/qt/CoreController.cpp
@@ -695,7 +695,7 @@ size = image.sizeInBytes();
#else size = image.byteCount(); #endif - m_eReaderData.setRawData(reinterpret_cast<const char*>(bits), image.sizeInBytes()); + m_eReaderData.setRawData(reinterpret_cast<const char*>(bits), size); } mCoreThreadRunFunction(&m_threadContext, [](mCoreThread* thread) {