projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use nullptr
[quassel.git]
/
src
/
qtui
/
chatview.h
diff --git
a/src/qtui/chatview.h
b/src/qtui/chatview.h
index
26b14e1
..
cb34ede
100644
(file)
--- a/
src/qtui/chatview.h
+++ b/
src/qtui/chatview.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
5
by the Quassel Project *
+ * Copyright (C) 2005-201
8
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* 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:
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;
virtual MsgId lastMsgId() const;
virtual MsgId lastVisibleMsgId() const;
@@
-117,6
+117,7
@@
private:
int _scrollOffset;
bool _invalidateFilter;
QSet<ChatLine *> _linesWithCache;
int _scrollOffset;
bool _invalidateFilter;
QSet<ChatLine *> _linesWithCache;
+ bool _firstTouchUpdateHappened = false;
};
};