From: Juergen Spitzmueller Date: Tue, 19 Mar 2019 12:36:05 +0000 (+0100) Subject: cosmetics X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2441 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=adbe5121fe6841fd5a24bd7e7904d5fdb5e27f1b;p=features.git cosmetics --- diff --git a/src/frontends/qt4/GuiLyXFiles.cpp b/src/frontends/qt4/GuiLyXFiles.cpp index 35d86d222c..c1f04ab558 100644 --- a/src/frontends/qt4/GuiLyXFiles.cpp +++ b/src/frontends/qt4/GuiLyXFiles.cpp @@ -401,9 +401,10 @@ void GuiLyXFiles::dispatchParams() dispatch(FuncRequest(lfun, arg)); } + FuncCode GuiLyXFiles::getLfun() const { - if (type_ == toqstr("examples")) + if (type_ == "examples") return LFUN_FILE_OPEN; return LFUN_BUFFER_NEW_TEMPLATE; }