From 8c2f98a89eec7c9f49316da4b56179e33f36d45f Mon Sep 17 00:00:00 2001 From: Javier Serrano Polo Date: Tue, 30 Aug 2016 14:34:04 +0000 Subject: [PATCH] Fix undefined reference to vtable for AudioSoundIoSetupUtil (#3004) --- include/AudioSoundIo.h | 2 ++ src/core/audio/AudioSoundIo.cpp | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/include/AudioSoundIo.h b/include/AudioSoundIo.h index 5816bc52b..4912e6850 100644 --- a/include/AudioSoundIo.h +++ b/include/AudioSoundIo.h @@ -45,6 +45,8 @@ class AudioSoundIoSetupUtil : public QObject { Q_OBJECT public: + virtual ~AudioSoundIoSetupUtil(); + void *m_setupWidget; public slots: void updateDevices(); diff --git a/src/core/audio/AudioSoundIo.cpp b/src/core/audio/AudioSoundIo.cpp index ed573becf..69f1a2183 100644 --- a/src/core/audio/AudioSoundIo.cpp +++ b/src/core/audio/AudioSoundIo.cpp @@ -282,6 +282,10 @@ void AudioSoundIo::writeCallback(int frameCountMin, int frameCountMax) } } +AudioSoundIoSetupUtil::~AudioSoundIoSetupUtil() +{ +} + void AudioSoundIoSetupUtil::reconnectSoundIo() { ((AudioSoundIo::setupWidget *)m_setupWidget)->reconnectSoundIo();