From 93d1d40ea5f31707eae6df701f4ad15adfb94606 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 11 Feb 2023 01:32:55 +0100 Subject: [PATCH] LyricsProvider: Default to empty results --- src/lyrics/lyricsprovider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lyrics/lyricsprovider.h b/src/lyrics/lyricsprovider.h index 9acbc4dd6..e793afd4b 100644 --- a/src/lyrics/lyricsprovider.h +++ b/src/lyrics/lyricsprovider.h @@ -63,7 +63,7 @@ class LyricsProvider : public QObject { void AuthenticationComplete(bool, QStringList = QStringList()); void AuthenticationSuccess(); void AuthenticationFailure(QStringList); - void SearchFinished(int id, LyricsSearchResults results); + void SearchFinished(int id, LyricsSearchResults results = LyricsSearchResults()); protected: using Param = QPair;