Qt Callstack: Clear the callstack every time it's updated

This fixes the issue that old members of the callstack would stick around, even when the callstack shortened.
This commit is contained in:
archshift 2015-01-10 22:39:00 -08:00
parent eacc2a501b
commit d670b7e522
2 changed files with 14 additions and 0 deletions

View file

@ -21,4 +21,7 @@ public slots:
private:
Ui::CallStack ui;
QStandardItemModel* callstack_model;
/// Clears the callstack widget while keeping the column widths the same
void Clear();
};