[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/lib/util
From: Jens Dagerbo <jens.dagerbo () swipnet ! se>
Date: 2004-02-19 5:10:28
Message-ID: 20040219051028.E6B079133 () office ! kde ! org
[Download RAW message or body]
CVS commit by dagerbo:
removed scary hack
M +3 -6 processwidget.cpp 1.19
--- kdevelop/lib/util/processwidget.cpp #1.18:1.19
@@ -174,10 +174,7 @@ QSize ProcessWidget::minimumSizeHint() c
void ProcessWidget::maybeScrollToBottom()
{
- if ( verticalScrollBar()->value() == verticalScrollBar()->maxValue() ) {
- qApp->processEvents();
- verticalScrollBar()->setValue( verticalScrollBar()->maxValue() );
- /// \FIXME dirty hack to _actually_ scroll to the bottom
- qApp->processEvents();
- verticalScrollBar()->setValue( verticalScrollBar()->maxValue() );
+ if ( verticalScrollBar()->value() == verticalScrollBar()->maxValue() )
+ {
+ setBottomItem( count() -1 );
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic