Skip to content

Commit

Permalink
Fix for Qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
srcejon committed Jun 18, 2024
1 parent 64d75ba commit 78e7fdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/channelrx/heatmap/heatmapgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,11 @@ HeatMapGUI::HeatMapGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, BasebandS
m_heatMap = reinterpret_cast<HeatMap*>(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

Expand Down

0 comments on commit 78e7fdc

Please sign in to comment.