]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiLog.cpp
Fix dangling inset pointers after buffer reload
[lyx.git] / src / frontends / qt4 / GuiLog.cpp
index e5f6c536b4b868abb10d0c8ff99773bcf2d1d4ba..23ba276d8a70cc74c27cfd344444b95a129cfe5b 100644 (file)
@@ -133,10 +133,7 @@ GuiLog::GuiLog(GuiView & lv)
        highlighter = new LogHighlighter(logTB->document());
 
        logTB->setReadOnly(true);
-       QFont font(guiApp->typewriterFontName());
-       font.setFixedPitch(true);
-       font.setStyleHint(QFont::TypeWriter);
-       logTB->setFont(font);
+       logTB->setFont(guiApp->typewriterSystemFont());
 }
 
 
@@ -329,13 +326,6 @@ void GuiLog::getContents(ostream & ss) const
        }
 }
 
-/*
-void GuiLog::on_copyPB_clicked()
-{
-       theClipboard().put(fromqstr(logTB->toPlainText()));
-}
-*/
-
 
 Dialog * createGuiLog(GuiView & lv) { return new GuiLog(lv); }