From 9b312c379c3674e68374704a84e0926d51239584 Mon Sep 17 00:00:00 2001 From: s_alexander Date: Tue, 8 Dec 2009 19:45:14 +0000 Subject: removed if to enable folder cover loading git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2004 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/screens/UScreenSong.pas | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/screens') diff --git a/src/screens/UScreenSong.pas b/src/screens/UScreenSong.pas index c2afbfe1..bd5eebe5 100644 --- a/src/screens/UScreenSong.pas +++ b/src/screens/UScreenSong.pas @@ -940,15 +940,8 @@ begin Song := CatSongs.Song[I]; - if not Song.Main then - begin // to-do : load category covers again... - // just a workaround to fic folders=on for the moment... - // if cover-image is not found then show 'no cover' - CoverFile := Song.Path.Append(Song.Cover); - if (not CoverFile.IsFile()) then - Song.Cover := PATH_NONE; - end - else + CoverFile := Song.Path.Append(Song.Cover); + if (not CoverFile.IsFile()) then Song.Cover := PATH_NONE; if (Song.Cover.IsUnset) then -- cgit v1.2.3