]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiShowFile.cpp
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiShowFile.cpp
index 58ea26e42f58f772a3867e292ff08dcb095cd55e..43d519610a5b4de56ffcfb544d8cdda1c208a48c 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <QTextBrowser>
 #include <QPushButton>
-#include <QCloseEvent>
 
 using namespace std;
 using namespace lyx::support;
@@ -41,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())