Mercurial > hg > octave-terminal
changeset 13437:46cbccfb46c1
Fixed bug with displaying the terminal size while resizing.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 14 Apr 2011 10:06:28 +0200 |
parents | 79e2f4d8fa7f |
children | 6b3dae8b4061 |
files | gui//src/TerminalDisplay.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui//src/TerminalDisplay.cpp +++ b/gui//src/TerminalDisplay.cpp @@ -1138,7 +1138,7 @@ _resizeTimer->setSingleShot(true); connect(_resizeTimer, SIGNAL(timeout()), _resizeWidget, SLOT(hide())); } - QString sizeStr = i18n("Size: %1 x %2", _columns, _lines); + QString sizeStr = QString("Size: %1 x %2").arg(_columns).arg(_lines); _resizeWidget->setText(sizeStr); _resizeWidget->move((width()-_resizeWidget->width())/2, (height()-_resizeWidget->height())/2+20);