projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
qa: Resolve Qt deprecation warnings - default-construct QFlags
[quassel.git]
/
src
/
client
/
treemodel.h
diff --git
a/src/client/treemodel.h
b/src/client/treemodel.h
index
aa4ac14
..
3c6ce91
100644
(file)
--- a/
src/client/treemodel.h
+++ b/
src/client/treemodel.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
18
by the Quassel Project *
+ * Copyright (C) 2005-20
20
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 *
@@
-87,8
+87,8
@@
protected:
private:
QList<AbstractTreeItem*> _childItems;
private:
QList<AbstractTreeItem*> _childItems;
- Qt::ItemFlags _flags;
- TreeItemFlags _treeItemFlags;
+ Qt::ItemFlags _flags
{}
;
+ TreeItemFlags _treeItemFlags
{}
;
void removeChildLater(AbstractTreeItem* child);
inline void checkForDeletion()
void removeChildLater(AbstractTreeItem* child);
inline void checkForDeletion()