Cleanup playSoundFile

This commit is contained in:
Jordan Sherer 2019-11-17 01:32:18 -05:00
parent 26f16b5a99
commit 71d52dad63
2 changed files with 0 additions and 11 deletions

View File

@ -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];

View File

@ -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);