From 2e72d8d3e527b0e5847661caf405d0a63582ab8d Mon Sep 17 00:00:00 2001 From: John Maguire Date: Wed, 1 Jun 2011 15:47:14 +0000 Subject: [PATCH] Code review comments from r3355 --- src/resolvers/libraryresolver.cpp | 3 ++- src/resolvers/libraryresolver.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resolvers/libraryresolver.cpp b/src/resolvers/libraryresolver.cpp index bb82bdc31..30b846ca1 100644 --- a/src/resolvers/libraryresolver.cpp +++ b/src/resolvers/libraryresolver.cpp @@ -14,7 +14,8 @@ using boost::scoped_ptr; LibraryResolver::LibraryResolver(LibraryBackendInterface* backend, QObject* parent) : Resolver(parent), - backend_(backend) { + backend_(backend), + next_id_(0) { } int LibraryResolver::ResolveSong(const Song& song) { diff --git a/src/resolvers/libraryresolver.h b/src/resolvers/libraryresolver.h index db947d350..947890025 100644 --- a/src/resolvers/libraryresolver.h +++ b/src/resolvers/libraryresolver.h @@ -17,7 +17,7 @@ class LibraryResolver : public Resolver { int ResolveSong(const Song& song); signals: - void ResolveFinished(int id, SongList songs); + void ResolveFinished(int id, const SongList& songs); private slots: void QueryFinished();