]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiShowFile.cpp
Remove the magic boolean in getChildren() from the public interface.
[lyx.git] / src / frontends / qt4 / GuiShowFile.cpp
index 53fa262fbc307db83fa64833d7ca40e393303c98..8dc7a98df1f3b6b4597564b3d14b19af439c745f 100644 (file)
@@ -40,7 +40,7 @@ GuiShowFile::GuiShowFile(GuiView & lv)
 
 void GuiShowFile::updateContents()
 {
-       setWindowTitle(onlyFilename(toqstr(filename_.absFileName())));
+       setWindowTitle(onlyFileName(toqstr(filename_.absFileName())));
 
        QString contents = toqstr(filename_.fileContents("UTF-8"));
        if (contents.isEmpty())