Fix qt connection warning
This commit is contained in:
parent
275c1a1852
commit
39f6429199
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
connect(ui->songListView, &QTableView::doubleClicked, this, &MainWindow::on_songListView_doubleClicked);
|
||||
|
||||
// Connect audio player error signal
|
||||
connect(audioPlayer, &AudioPlayer::playbackError, [this](const QString &error)
|
||||
connect(audioPlayer, &AudioPlayer::playbackError, this, [this](const QString &error)
|
||||
{
|
||||
QMessageBox::warning(this, "Playback Error", "Failed to play audio: " + error);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue