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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user