mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-09 09:25:07 -04:00
GLSpectrum: fixed settings and waterfall share serialization. Fixes #609
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <QDebug>
|
||||
|
||||
MESSAGE_CLASS_DEFINITION(GLSpectrum::MsgReportSampleRate, Message)
|
||||
MESSAGE_CLASS_DEFINITION(GLSpectrum::MsgReportWaterfallShare, Message)
|
||||
|
||||
GLSpectrum::GLSpectrum(QWidget* parent) :
|
||||
QGLWidget(parent),
|
||||
@@ -1909,6 +1910,10 @@ void GLSpectrum::mouseMoveEvent(QMouseEvent* event)
|
||||
m_waterfallShare = newShare;
|
||||
m_changesPending = true;
|
||||
|
||||
if (m_messageQueueToGUI) {
|
||||
m_messageQueueToGUI->push(new MsgReportWaterfallShare(m_waterfallShare));
|
||||
}
|
||||
|
||||
update();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user