projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea83d86
)
Fix inconsistent use of override in NickListWidget
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 1 Mar 2016 19:01:14 +0000
(20:01 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 1 Mar 2016 19:01:53 +0000
(20:01 +0100)
Clang warns about this.
src/qtui/nicklistwidget.h
patch
|
blob
|
history
diff --git
a/src/qtui/nicklistwidget.h
b/src/qtui/nicklistwidget.h
index
84fc432
..
c2a626e
100644
(file)
--- a/
src/qtui/nicklistwidget.h
+++ b/
src/qtui/nicklistwidget.h
@@
-49,13
+49,13
@@
signals:
void nickSelectionChanged(const QModelIndexList &);
protected:
void nickSelectionChanged(const QModelIndexList &);
protected:
-
virtual QSize sizeHint() const
;
- v
irtual void hideEvent(QHideEvent *)
;
- v
irtual void showEvent(QShowEvent *)
;
+
QSize sizeHint() const override
;
+ v
oid hideEvent(QHideEvent *) override
;
+ v
oid showEvent(QShowEvent *) override
;
protected slots:
protected slots:
- v
irtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
;
- v
irtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
;
+ v
oid currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override
;
+ v
oid rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) override
;
private slots:
void removeBuffer(BufferId bufferId);
private slots:
void removeBuffer(BufferId bufferId);