Cleanup playSoundFile
This commit is contained in:
parent
26f16b5a99
commit
71d52dad63
@ -4996,16 +4996,6 @@ void MainWindow::readFromStdout(QProcess * proc) //r
|
|||||||
// See MainWindow::postDecode for displaying the latest decodes
|
// 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){
|
bool MainWindow::hasExistingMessageBufferToMe(int *pOffset){
|
||||||
foreach(auto offset, m_messageBuffer.keys()){
|
foreach(auto offset, m_messageBuffer.keys()){
|
||||||
auto buffer = m_messageBuffer[offset];
|
auto buffer = m_messageBuffer[offset];
|
||||||
|
@ -130,7 +130,6 @@ public slots:
|
|||||||
bool tryRestoreFreqOffset();
|
bool tryRestoreFreqOffset();
|
||||||
void setFreq4(int rxFreq, int txFreq);
|
void setFreq4(int rxFreq, int txFreq);
|
||||||
|
|
||||||
void playSoundFile(const QString &path);
|
|
||||||
bool hasExistingMessageBufferToMe(int *pOffset);
|
bool hasExistingMessageBufferToMe(int *pOffset);
|
||||||
bool hasExistingMessageBuffer(int submode, int offset, bool drift, int *pPrevOffset);
|
bool hasExistingMessageBuffer(int submode, int offset, bool drift, int *pPrevOffset);
|
||||||
bool hasClosedExistingMessageBuffer(int offset);
|
bool hasClosedExistingMessageBuffer(int offset);
|
||||||
|
Loading…
Reference in New Issue
Block a user