diff --git a/plugins/channelrx/heatmap/heatmapgui.cpp b/plugins/channelrx/heatmap/heatmapgui.cpp index 13f4cdb0a..1cef5d381 100644 --- a/plugins/channelrx/heatmap/heatmapgui.cpp +++ b/plugins/channelrx/heatmap/heatmapgui.cpp @@ -558,8 +558,11 @@ HeatMapGUI::HeatMapGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandS m_heatMap = reinterpret_cast(rxChannel); m_heatMap->setMessageQueueToGUI(getInputMessageQueue()); + +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) // Disable 256MB limit on image size QImageReader::setAllocationLimit(0); +#endif connect(&MainCore::instance()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick())); // 50 ms