From d670b7e52261c6cb4b53fb7f457f8ab4614ebc30 Mon Sep 17 00:00:00 2001 From: archshift Date: Sat, 10 Jan 2015 22:39:00 -0800 Subject: 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. --- src/citra_qt/debugger/callstack.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/citra_qt/debugger/callstack.h') diff --git a/src/citra_qt/debugger/callstack.h b/src/citra_qt/debugger/callstack.h index fb390f5c..1a9b6dc8 100644 --- a/src/citra_qt/debugger/callstack.h +++ b/src/citra_qt/debugger/callstack.h @@ -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(); }; -- cgit v1.2.3