]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QShowFile.C
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / qt4 / QShowFile.C
index 252f079d40de191e28540b571beb90352b4841ae..56b809506a2a9da3304ee0d99f0e0d9076f1de48 100644 (file)
@@ -17,8 +17,8 @@
 
 #include "controllers/ControlShowFile.h"
 
-#include <q3textview.h>
-#include <qpushbutton.h>
+#include <QTextBrowser>
+#include <QPushButton>
 
 using std::string;
 
@@ -51,7 +51,7 @@ void QShowFile::update_contents()
                contents = "Error -> Cannot load file!";
        }
 
-       dialog_->text->setText(toqstr(contents));
+       dialog_->textTB->setPlainText(toqstr(contents));
 }
 
 } // namespace frontend