]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QLMenubar.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QLMenubar.h
index 553752473c8f1f9948b7855d875a6ca58a918321..28382c780a235bf1e4cbe0eef669aaf8223a6b77 100644 (file)
@@ -41,7 +41,7 @@ public:
        QLMenubar(LyXView *, MenuBackend &);
 
        /// opens a top-level submenu given its name
-       void openByName(std::string const &);
+       void openByName(lyx::docstring const &);
 
        /// return the owning view
        GuiView * view();
@@ -69,7 +69,7 @@ private:
        /// menu controller
        MenuBackend & menubackend_;
 
-       typedef std::map<std::string, QLPopupMenu *> NameMap;
+       typedef std::map<lyx::docstring, QLPopupMenu *> NameMap;
 
        /// name to menu for openByName
        NameMap name_map_;