Commit 86bd6d9d authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Initialize some members in default constructor of FilterEntry

parent 502e86b7
......@@ -43,7 +43,11 @@ class ILocatorFilter;
struct FilterEntry
{
FilterEntry() {}
FilterEntry()
: filter(0)
, resolveFileIcon(false)
{}
FilterEntry(ILocatorFilter *fromFilter, const QString &name, const QVariant &data,
const QIcon &icon = QIcon())
: filter(fromFilter)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment