Fixed build issues for issue #773

This commit is contained in:
f4exb 2021-02-17 10:15:34 +01:00
parent d22bdb3e5e
commit 202ba6d8da
2 changed files with 5 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public:
{}
};
class MsgFrequencyZooming : public Message {
class SDRBASE_API MsgFrequencyZooming : public Message {
MESSAGE_CLASS_DECLARATION
public:

View File

@ -2278,7 +2278,11 @@ void GLSpectrum::wheelEvent(QWheelEvent *event)
void GLSpectrum::frequencyZoom(QWheelEvent *event)
{
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
const QPointF& p = event->position();
#else
const QPointF& p = event->pos();
#endif
if (event->delta() > 0) // zoom in
{