1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Removed checks for manuals and screenshots in JPEG and BMP format

Support for loading JPEG and BMP images was removed a long time ago,
so there is no point in looking for files in those formats.
This commit is contained in:
Maarten ter Huurne
2013-08-14 13:30:17 +02:00
parent 666be4d354
commit 8472acc26c
3 changed files with 1 additions and 10 deletions

View File

@@ -456,12 +456,6 @@ bool Menu::addLink(string path, string file, string section) {
string manual = "";
if (fileExists(exename+".man.png")) {
manual = exename+".man.png";
} else if (fileExists(exename+".man.jpg")) {
manual = exename+".man.jpg";
} else if (fileExists(exename+".man.jpeg")) {
manual = exename+".man.jpeg";
} else if (fileExists(exename+".man.bmp")) {
manual = exename+".man.bmp";
} else if (fileExists(exename+".man.txt")) {
manual = exename+".man.txt";
} else {