X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fchatview.h;h=cb34edede7128d947a5c6088746e7ace04bf080f;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hp=26b14e1118610c58ce4ea83ea7901f9dd6f3cdeb;hpb=1cb02004ee5973b89368bd84f234d4652794690d;p=quassel.git 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; };