mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 04:30:38 +02:00
Add support of text manuals (.man.txt files) inside OPK archives
This commit is contained in:
parent
f2e3efd359
commit
610b489d51
@ -408,8 +408,13 @@ void LinkApp::showManual() {
|
||||
readme.push_back(str);
|
||||
free(buf);
|
||||
|
||||
if (manual.substr(manual.size()-8,8)==".man.txt") {
|
||||
TextManualDialog tmd(gmenu2x, getTitle(), getIconPath(), &readme);
|
||||
tmd.exec();
|
||||
} else {
|
||||
TextDialog td(gmenu2x, getTitle(), "ReadMe", getIconPath(), &readme);
|
||||
td.exec();
|
||||
}
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user