mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Fixed build issues for issue #773
This commit is contained in:
parent
d22bdb3e5e
commit
202ba6d8da
@ -107,7 +107,7 @@ public:
|
||||
{}
|
||||
};
|
||||
|
||||
class MsgFrequencyZooming : public Message {
|
||||
class SDRBASE_API MsgFrequencyZooming : public Message {
|
||||
MESSAGE_CLASS_DECLARATION
|
||||
|
||||
public:
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user