diff options
author | Timothy Pearson <[email protected]> | 2013-05-07 21:58:34 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-05-07 21:58:34 -0500 |
commit | c740211ffba3330d951f4c3ddefea8edf23a01cd (patch) | |
tree | 0a8b7641d3c5b576d18a2f7912c75fc600f494e2 /src/attic | |
parent | 8a4eacb6185de3653f6ae401c352aef833a9e72a (diff) | |
download | tqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.tar.gz tqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.zip |
Automated update from Qt3
Diffstat (limited to 'src/attic')
-rw-r--r-- | src/attic/qtmultilineedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attic/qtmultilineedit.cpp b/src/attic/qtmultilineedit.cpp index 1a93c8b2b..8361bedcd 100644 --- a/src/attic/qtmultilineedit.cpp +++ b/src/attic/qtmultilineedit.cpp @@ -1454,7 +1454,7 @@ void TQtMultiLineEdit::pageDown( bool mark ) int pageSize = viewHeight() / cellHeight(); int newTopCell = TQMIN( topCell() + pageSize, numLines() - 1 - pageSize ); - if ( pageSize >= numLines() ) { // tquick fix to handle small texts + if ( pageSize >= numLines() ) { // quick fix to handle small texts newTopCell = topCell(); } if ( !curXPos ) @@ -1506,7 +1506,7 @@ void TQtMultiLineEdit::pageUp( bool mark ) int pageSize = viewHeight() / cellHeight(); bool partial = delta == pageSize && viewHeight() != pageSize * cellHeight(); int newTopCell = TQMAX( topCell() - pageSize, 0 ); - if ( pageSize > numLines() ) { // tquick fix to handle small texts + if ( pageSize > numLines() ) { // quick fix to handle small texts newTopCell = 0; delta = 0; } |