Mercurial > hg > octave-lyh
changeset 15636:462e0f609d01
Set minimum size for terminal.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Mon, 23 Jan 2012 22:52:43 +0100 |
parents | a89e968265e8 |
children | 29c817466160 |
files | libqterminal/QTerminal.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libqterminal/QTerminal.cpp +++ b/libqterminal/QTerminal.cpp @@ -24,6 +24,7 @@ QTerminal::QTerminal(QWidget *parent) : QWidget(parent) { + setMinimumSize(600, 400); init(); setFocus(Qt::OtherFocusReason); @@ -140,6 +141,8 @@ void QTerminal::resizeEvent(QResizeEvent*) { m_terminalDisplay->resize(this->size()); + m_terminalDisplay->updateImage(); + m_terminalDisplay->update(); } void QTerminal::sessionFinished()