mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Remove extraneous debug messages
This commit is contained in:
parent
8b904b91ea
commit
2c10b55858
1 changed files with 0 additions and 2 deletions
|
@ -309,14 +309,12 @@ void ChatWindow::messageReceived(const QXmppMessage& message) {
|
|||
|
||||
bool ChatWindow::isAtBottom() {
|
||||
QScrollBar* verticalScrollBar = ui->messagesScrollArea->verticalScrollBar();
|
||||
qDebug() << "Checking for bottom " << verticalScrollBar->sliderPosition() << " " << verticalScrollBar->maximum();
|
||||
return verticalScrollBar->sliderPosition() == verticalScrollBar->maximum();
|
||||
}
|
||||
|
||||
// Scroll chat message area to bottom.
|
||||
void ChatWindow::scrollToBottom() {
|
||||
QScrollBar* verticalScrollBar = ui->messagesScrollArea->verticalScrollBar();
|
||||
qDebug() << "Scrolling to " << verticalScrollBar->maximum();
|
||||
verticalScrollBar->setSliderPosition(verticalScrollBar->maximum());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue