X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiShowFile.cpp;h=c2a4360b2fca7ff0b4f42ce9cb553ebaad23b297;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=9cde4ba22ef0f22c7faf2132dc2843e3f0ec7ab7;hpb=ba76bf5eb85db5a10839fccee3430d906d3f7b70;p=lyx.git diff --git a/src/frontends/qt4/GuiShowFile.cpp b/src/frontends/qt4/GuiShowFile.cpp index 9cde4ba22e..c2a4360b2f 100644 --- a/src/frontends/qt4/GuiShowFile.cpp +++ b/src/frontends/qt4/GuiShowFile.cpp @@ -40,7 +40,7 @@ GuiShowFile::GuiShowFile(GuiView & lv) void GuiShowFile::updateContents() { - setWindowTitle(toqstr(onlyFilename(filename_.absFilename()))); + setWindowTitle(onlyFilename(toqstr(filename_.absFilename()))); QString contents = toqstr(filename_.fileContents("UTF-8")); if (contents.isEmpty()) @@ -69,4 +69,4 @@ Dialog * createGuiShowFile(GuiView & lv) { return new GuiShowFile(lv); } } // namespace frontend } // namespace lyx -#include "GuiShowFile_moc.cpp" +#include "moc_GuiShowFile.cpp"