OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba557f
)
Fix scrolling of compile output windwow yet again
author
con
<qtc-committer@nokia.com>
Tue, 5 Oct 2010 11:44:46 +0000
(13:44 +0200)
committer
con
<qtc-committer@nokia.com>
Tue, 5 Oct 2010 12:14:57 +0000
(14:14 +0200)
Broke with
29b073e92e61972846b743e52787b56a0a4d58d0
Reviewed-by: mae
src/plugins/projectexplorer/outputwindow.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/projectexplorer/outputwindow.cpp
b/src/plugins/projectexplorer/outputwindow.cpp
index
68a6c57
..
5384ee5
100644
(file)
--- a/
src/plugins/projectexplorer/outputwindow.cpp
+++ b/
src/plugins/projectexplorer/outputwindow.cpp
@@
-688,11
+688,7
@@
void OutputWindow::appendText(const QString &textIn, const QTextCharFormat &form
bool OutputWindow::isScrollbarAtBottom() const
{
- return isVisible()
- && (blockBoundingRect(document()->lastBlock()).bottom()
- + contentOffset().y() <= viewport()->rect().bottom());
-
- // return verticalScrollBar()->value() == verticalScrollBar()->maximum();
+ return verticalScrollBar()->value() == verticalScrollBar()->maximum();
}
void OutputWindow::clear()