Skip to content

Commit 72abf30

Browse files
lievenheymilianw
authored andcommitted
initialize m_numTypes in DisassemblyModel
the value is not initialized and can cause QAbstractHeaderView to crash this might fix #337
1 parent 7693338 commit 72abf30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/disassemblymodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ class DisassemblyModel : public QAbstractTableModel
4747
private:
4848
DisassemblyOutput m_data;
4949
Data::CallerCalleeResults m_results;
50-
int m_numTypes;
50+
int m_numTypes = 0;
5151
};

0 commit comments

Comments
 (0)