Fixed build issues for issue #773

pull/788/head
f4exb 2021-02-17 10:15:34 +01:00
rodzic d22bdb3e5e
commit 202ba6d8da
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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
{