diff --git a/mainwindow.cpp b/mainwindow.cpp index 80dd3df..11cd571 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4996,16 +4996,6 @@ void MainWindow::readFromStdout(QProcess * proc) //r // See MainWindow::postDecode for displaying the latest decodes } -void MainWindow::playSoundFile(const QString &path){ - if(path.isEmpty()){ - return; - } - - qDebug() << "Trying to play sound file" << path; - - QSound::play(path); -} - bool MainWindow::hasExistingMessageBufferToMe(int *pOffset){ foreach(auto offset, m_messageBuffer.keys()){ auto buffer = m_messageBuffer[offset]; diff --git a/mainwindow.h b/mainwindow.h index ac6ea19..2c59960 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -130,7 +130,6 @@ public slots: bool tryRestoreFreqOffset(); void setFreq4(int rxFreq, int txFreq); - void playSoundFile(const QString &path); bool hasExistingMessageBufferToMe(int *pOffset); bool hasExistingMessageBuffer(int submode, int offset, bool drift, int *pPrevOffset); bool hasClosedExistingMessageBuffer(int offset);