X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatview.h;h=cb34edede7128d947a5c6088746e7ace04bf080f;hp=26b14e1118610c58ce4ea83ea7901f9dd6f3cdeb;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hpb=695758015a80eb8c158a9ac4c0f1c0b547e70df3 diff --git a/src/qtui/chatview.h b/src/qtui/chatview.h index 26b14e11..cb34eded 100644 --- a/src/qtui/chatview.h +++ b/src/qtui/chatview.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,8 +39,8 @@ class ChatView : public QGraphicsView, public AbstractChatView Q_OBJECT public: - ChatView(MessageFilter *, QWidget *parent = 0); - ChatView(BufferId bufferId, QWidget *parent = 0); + ChatView(MessageFilter *, QWidget *parent = nullptr); + ChatView(BufferId bufferId, QWidget *parent = nullptr); virtual MsgId lastMsgId() const; virtual MsgId lastVisibleMsgId() const; @@ -117,6 +117,7 @@ private: int _scrollOffset; bool _invalidateFilter; QSet _linesWithCache; + bool _firstTouchUpdateHappened = false; };