From 28278494b260e3621dbb9470ff89e2906cef4e21 Mon Sep 17 00:00:00 2001 From: casey Date: Sat, 18 Jun 2016 12:03:50 -0700 Subject: [PATCH] Fixed track search compile and warnings in Windows. --- .../app/query/SearchTrackListQuery.cpp | 2 +- src/musikbox/musikbox.vcxproj | 6 ++++++ src/musikbox/musikbox.vcxproj.filters | 18 ++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/musikbox/app/query/SearchTrackListQuery.cpp b/src/musikbox/app/query/SearchTrackListQuery.cpp index 6ac628526..b0888feb8 100755 --- a/src/musikbox/app/query/SearchTrackListQuery.cpp +++ b/src/musikbox/app/query/SearchTrackListQuery.cpp @@ -87,7 +87,7 @@ bool SearchTrackListQuery::OnRun(Connection& db) { headers.reset(new std::set()); } - bool hasFilter = this->filter.size(); + bool hasFilter = (this->filter.size() > 0); std::string lastAlbum; size_t index = 0; diff --git a/src/musikbox/musikbox.vcxproj b/src/musikbox/musikbox.vcxproj index 591b9e2b1..1d712d274 100755 --- a/src/musikbox/musikbox.vcxproj +++ b/src/musikbox/musikbox.vcxproj @@ -120,13 +120,16 @@ + + + @@ -164,14 +167,17 @@ + + + diff --git a/src/musikbox/musikbox.vcxproj.filters b/src/musikbox/musikbox.vcxproj.filters index db6a3e64a..70a9b83f0 100755 --- a/src/musikbox/musikbox.vcxproj.filters +++ b/src/musikbox/musikbox.vcxproj.filters @@ -114,6 +114,15 @@ app\model + + app\util + + + app\layout + + + app\query + @@ -270,6 +279,15 @@ app\model + + app\util + + + app\layout + + + app\query +