From 439d25c292e62135f4730d0ba053793f7243f631 Mon Sep 17 00:00:00 2001 From: Ayla Date: Sat, 9 Jul 2011 01:49:09 +0200 Subject: [PATCH] GMenu2X now won't load skin files from the Default skin when using another skin. This was causing trouble when the current skin does not provide graphical files on purpose (ie. skin with no top/bottom bar). --- src/surfacecollection.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/surfacecollection.cpp b/src/surfacecollection.cpp index b580ddf..6db328f 100644 --- a/src/surfacecollection.cpp +++ b/src/surfacecollection.cpp @@ -72,13 +72,6 @@ string SurfaceCollection::getSkinFilePath(const string &skin, const string &file if (fileExists(path)) return path; - /* If it is nowhere to be found, as a last resort we check the - * "Default" skin on the system directory for a corresponding - * (but probably not similar) file. */ - path = GMENU2X_SYSTEM_DIR "/skins/Default/" + file; - if (fileExists(path)) - return path; - return ""; }