|
a/src/qtgui/restable.cpp |
|
b/src/qtgui/restable.cpp |
|
... |
|
... |
791 |
// No parent doc: show enclosing folder with app configured for
|
791 |
// No parent doc: show enclosing folder with app configured for
|
792 |
// directories
|
792 |
// directories
|
793 |
pdoc.url = path_getfather(doc.url);
|
793 |
pdoc.url = path_getfather(doc.url);
|
794 |
pdoc.meta[Rcl::Doc::keychildurl] = doc.url;
|
794 |
pdoc.meta[Rcl::Doc::keychildurl] = doc.url;
|
795 |
pdoc.meta[Rcl::Doc::keyapptg] = "parentopen";
|
795 |
pdoc.meta[Rcl::Doc::keyapptg] = "parentopen";
|
796 |
pdoc.mimetype = "application/x-fsdirectory";
|
796 |
pdoc.mimetype = "inode/directory";
|
797 |
emit editRequested(pdoc);
|
797 |
emit editRequested(pdoc);
|
798 |
}
|
798 |
}
|
799 |
}
|
799 |
}
|
800 |
|
800 |
|
801 |
void ResTable::menuOpenParent()
|
801 |
void ResTable::menuOpenParent()
|
|
... |
|
... |
813 |
// No parent doc: show enclosing folder with app configured for
|
813 |
// No parent doc: show enclosing folder with app configured for
|
814 |
// directories
|
814 |
// directories
|
815 |
pdoc.url = path_getfather(doc.url);
|
815 |
pdoc.url = path_getfather(doc.url);
|
816 |
pdoc.meta[Rcl::Doc::keychildurl] = doc.url;
|
816 |
pdoc.meta[Rcl::Doc::keychildurl] = doc.url;
|
817 |
pdoc.meta[Rcl::Doc::keyapptg] = "parentopen";
|
817 |
pdoc.meta[Rcl::Doc::keyapptg] = "parentopen";
|
818 |
pdoc.mimetype = "application/x-fsdirectory";
|
818 |
pdoc.mimetype = "inode/directory";
|
819 |
emit editRequested(pdoc);
|
819 |
emit editRequested(pdoc);
|
820 |
}
|
820 |
}
|
821 |
}
|
821 |
}
|
822 |
|
822 |
|
823 |
void ResTable::menuEdit()
|
823 |
void ResTable::menuEdit()
|