IOutputPane: Refactor zoom function into base class

Try to make zoom and font handling in the panes more
similar and put common stuff into IOutputPane.

Change-Id: I59c38c5eecbf67b7ca6c9d84a6f61b1292a787df
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Andre Hartmann
2019-03-31 08:04:43 +02:00
committed by André Hartmann
parent e127d599ac
commit 48073b2990
12 changed files with 131 additions and 201 deletions

View File

@@ -109,7 +109,7 @@ private:
};
OutputWindowPlainTextEdit::OutputWindowPlainTextEdit(QWidget *parent) :
Core::OutputWindow(Core::Context(C_VCS_OUTPUT_PANE), parent)
Core::OutputWindow(Core::Context(C_VCS_OUTPUT_PANE), QString(), parent)
{
setReadOnly(true);
setUndoRedoEnabled(false);