cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / qtui / chatview.cpp
index 918cec6..1a24c6f 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2020 by the Quassel Project                        *
+ *   Copyright (C) 2005-2022 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -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());
     }