X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatview.cpp;fp=src%2Fqtui%2Fchatview.cpp;h=1a24c6ff10162e3a45ac1359edd941dc77b9d2bc;hp=3e0b62113063d96a29ea2a7a9e04bf6643e9676e;hb=c8ddabf364eff2400c61cea395aefe69eb8ba1b3;hpb=0fdc92b633d25609933314dc4fd942a7ab5dd94a diff --git a/src/qtui/chatview.cpp b/src/qtui/chatview.cpp index 3e0b6211..1a24c6ff 100644 --- a/src/qtui/chatview.cpp +++ b/src/qtui/chatview.cpp @@ -112,7 +112,7 @@ bool ChatView::event(QEvent* event) } if (event->type() == QEvent::TouchBegin && ((QTouchEvent*)event)->device()->type() == QTouchDevice::TouchScreen) { - // Enable scrolling by draging, disable selecting/clicking content + // Enable scrolling by dragging, disable selecting/clicking content setDragMode(QGraphicsView::ScrollHandDrag); setInteractive(false); // if scrollbar is not visible we need to request backlog below else we need to accept @@ -191,7 +191,7 @@ void ChatView::resizeEvent(QResizeEvent* event) // if scrolling to bottom, do it immediately. if (atBottom) { - // we can reduce viewport updates if we scroll to the bottom allready at the beginning + // we can reduce viewport updates if we scroll to the bottom already at the beginning verticalScrollBar()->setValue(verticalScrollBar()->maximum()); }