Skip to content

Commit

Permalink
Disable zoom on Qt less than v5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
xavriley committed Oct 8, 2015
1 parent f63de39 commit 1eccca9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/gui/qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@ MainWindow::MainWindow(QApplication &app, bool i18n, QSplashScreen* splash)
outputPane->document()->setMaximumBlockCount(1000);
errorPane->document()->setMaximumBlockCount(1000);

//outputPane->zoomIn(1);
#if QT_VERSION >= 0x050400
//zoomable QPlainTextEdit requires QT 5.4
outputPane->zoomIn(1);
#endif
outputPane->setTextColor(QColor(theme->color("LogInfoForeground")));
outputPane->appendPlainText("\n");
//outputPane->append(asciiArtLogo());
Expand Down

0 comments on commit 1eccca9

Please sign in to comment.