1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-05 04:51:53 +02:00

Removed SurfaceCollection::defaultAlpha

The Selector was the only user and that code was removed.
This commit is contained in:
Maarten ter Huurne 2014-08-12 08:48:33 +02:00
parent 1229ef32e5
commit aa5d8faeb6
2 changed files with 1 additions and 2 deletions

View File

@ -121,7 +121,7 @@ OffscreenSurface *SurfaceCollection::add(const string &path) {
DEBUG("Adding surface: '%s'\n", path.c_str());
// TODO: Be safe.
auto s = OffscreenSurface::loadImage(filePath, "", defaultAlpha).release();
auto s = OffscreenSurface::loadImage(filePath).release();
if (s) {
surfaces[path] = s;
}

View File

@ -43,7 +43,6 @@ public:
static std::string getSkinFilePath(const std::string &skin, const std::string &file, bool useDefault = true);
static std::string getSkinPath(const std::string &skin);
bool defaultAlpha = true;
void debug();
/**