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

Made GMenu2X::menu private

There was only one outside use; turned that into a new public method
on the GMenu2X class.
This commit is contained in:
Maarten ter Huurne
2012-12-20 22:01:30 +01:00
parent a18730ee13
commit e4d78bee60
3 changed files with 12 additions and 8 deletions

View File

@@ -632,12 +632,7 @@ void LinkApp::launch(const string &selectedFile, const string &selectedDir) {
if (dontleave) {
system(command.c_str());
} else {
if (gmenu2x->confInt["saveSelection"] && (
gmenu2x->confInt["section"]!=gmenu2x->menu->selSectionIndex()
|| gmenu2x->confInt["link"]!=gmenu2x->menu->selLinkIndex()
)) {
gmenu2x->writeConfig();
}
gmenu2x->saveSelection();
if (selectedFile == "") {
gmenu2x->writeTmp();