Changeset View
Changeset View
Standalone View
Standalone View
plugins/quickopen/projectitemquickopen.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 51 | if (m_isDirty) { | |||
---|---|---|---|---|---|
53 | m_isDirty = false; | 53 | m_isDirty = false; | ||
54 | } | 54 | } | ||
55 | return m_result; | 55 | return m_result; | ||
56 | } | 56 | } | ||
57 | private: | 57 | private: | ||
58 | std::function<Type()> m_func; | 58 | std::function<Type()> m_func; | ||
59 | 59 | | |||
60 | mutable Type m_result; | 60 | mutable Type m_result; | ||
61 | mutable bool m_isDirty = false; | 61 | mutable bool m_isDirty = true; | ||
62 | }; | 62 | }; | ||
63 | 63 | | |||
64 | struct CodeModelViewItem | 64 | struct CodeModelViewItem | ||
65 | { | 65 | { | ||
66 | CodeModelViewItem() | 66 | CodeModelViewItem() | ||
67 | { | 67 | { | ||
68 | } | 68 | } | ||
69 | CodeModelViewItem(const KDevelop::IndexedString& file, const KDevelop::QualifiedIdentifier& id) | 69 | CodeModelViewItem(const KDevelop::IndexedString& file, const KDevelop::QualifiedIdentifier& id) | ||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |