mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 03:22:48 +02:00
Removed static version of SurfaceCollection::getSkinFilePath
There were no external callers anymore.
This commit is contained in:
parent
c8ea974f51
commit
6895ac0b54
@ -56,11 +56,6 @@ string SurfaceCollection::getSkinPath(const string &skin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
string SurfaceCollection::getSkinFilePath(const string &file, bool useDefault)
|
string SurfaceCollection::getSkinFilePath(const string &file, bool useDefault)
|
||||||
{
|
|
||||||
return SurfaceCollection::getSkinFilePath(skin, file, useDefault);
|
|
||||||
}
|
|
||||||
|
|
||||||
string SurfaceCollection::getSkinFilePath(const string &skin, const string &file, bool useDefault)
|
|
||||||
{
|
{
|
||||||
/* We first search the skin file on the user-specific directory. */
|
/* We first search the skin file on the user-specific directory. */
|
||||||
string path = GMenu2X::getHome() + "/skins/" + skin + "/" + file;
|
string path = GMenu2X::getHome() + "/skins/" + skin + "/" + file;
|
||||||
|
@ -40,7 +40,6 @@ public:
|
|||||||
|
|
||||||
void setSkin(const std::string &skin);
|
void setSkin(const std::string &skin);
|
||||||
std::string getSkinFilePath(const std::string &file, bool useDefault = true);
|
std::string getSkinFilePath(const std::string &file, bool useDefault = true);
|
||||||
static std::string getSkinFilePath(const std::string &skin, const std::string &file, bool useDefault = true);
|
|
||||||
static std::string getSkinPath(const std::string &skin);
|
static std::string getSkinPath(const std::string &skin);
|
||||||
|
|
||||||
void debug();
|
void debug();
|
||||||
|
Loading…
Reference in New Issue
Block a user