Fixed track search compile and warnings in Windows.

This commit is contained in:
casey 2016-06-18 12:03:50 -07:00
parent 84e235c5d3
commit 28278494b2
3 changed files with 25 additions and 1 deletions

View File

@ -87,7 +87,7 @@ bool SearchTrackListQuery::OnRun(Connection& db) {
headers.reset(new std::set<size_t>());
}
bool hasFilter = this->filter.size();
bool hasFilter = (this->filter.size() > 0);
std::string lastAlbum;
size_t index = 0;

View File

@ -120,13 +120,16 @@
<ClCompile Include="app\layout\ConsoleLayout.cpp" />
<ClCompile Include="app\layout\NowPlayingLayout.cpp" />
<ClCompile Include="app\layout\SearchLayout.cpp" />
<ClCompile Include="app\layout\TrackSearchLayout.cpp" />
<ClCompile Include="app\model\TrackList.cpp" />
<ClCompile Include="app\query\CategoryListViewQuery.cpp" />
<ClCompile Include="app\query\NowPlayingTrackListQuery.cpp" />
<ClCompile Include="app\query\CategoryTrackListQuery.cpp" />
<ClCompile Include="app\query\SearchTrackListQuery.cpp" />
<ClCompile Include="app\service\PlaybackService.cpp" />
<ClCompile Include="app\util\Duration.cpp" />
<ClCompile Include="app\util\GlobalHotkeys.cpp" />
<ClCompile Include="app\util\Playback.cpp" />
<ClCompile Include="app\util\SystemInfo.cpp" />
<ClCompile Include="app\window\CategoryListView.cpp" />
<ClCompile Include="app\window\EntryWithHeader.cpp" />
@ -164,14 +167,17 @@
<ClInclude Include="app\layout\ConsoleLayout.h" />
<ClInclude Include="app\layout\NowPlayingLayout.h" />
<ClInclude Include="app\layout\SearchLayout.h" />
<ClInclude Include="app\layout\TrackSearchLayout.h" />
<ClInclude Include="app\model\TrackList.h" />
<ClInclude Include="app\query\CategoryListViewQuery.h" />
<ClInclude Include="app\query\NowPlayingTrackListQuery.h" />
<ClInclude Include="app\query\SearchTrackListQuery.h" />
<ClInclude Include="app\query\TrackListQueryBase.h" />
<ClInclude Include="app\query\CategoryTrackListQuery.h" />
<ClInclude Include="app\service\PlaybackService.h" />
<ClInclude Include="app\util\Duration.h" />
<ClInclude Include="app\util\GlobalHotkeys.h" />
<ClInclude Include="app\util\Playback.h" />
<ClInclude Include="app\util\SystemInfo.h" />
<ClInclude Include="app\window\CategoryListView.h" />
<ClInclude Include="app\window\EntryWithHeader.h" />

View File

@ -114,6 +114,15 @@
<ClCompile Include="app\model\TrackList.cpp">
<Filter>app\model</Filter>
</ClCompile>
<ClCompile Include="app\util\Playback.cpp">
<Filter>app\util</Filter>
</ClCompile>
<ClCompile Include="app\layout\TrackSearchLayout.cpp">
<Filter>app\layout</Filter>
</ClCompile>
<ClCompile Include="app\query\SearchTrackListQuery.cpp">
<Filter>app\query</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h" />
@ -270,6 +279,15 @@
<ClInclude Include="app\model\TrackList.h">
<Filter>app\model</Filter>
</ClInclude>
<ClInclude Include="app\util\Playback.h">
<Filter>app\util</Filter>
</ClInclude>
<ClInclude Include="app\layout\TrackSearchLayout.h">
<Filter>app\layout</Filter>
</ClInclude>
<ClInclude Include="app\query\SearchTrackListQuery.h">
<Filter>app\query</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="cursespp">