mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-03 15:14:18 +01:00
d670b7e522
This fixes the issue that old members of the callstack would stick around, even when the callstack shortened.
28 lines
562 B
C++
28 lines
562 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include <QDockWidget>
|
|
#include "ui_callstack.h"
|
|
|
|
class QStandardItemModel;
|
|
|
|
class CallstackWidget : public QDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
CallstackWidget(QWidget* parent = 0);
|
|
|
|
public slots:
|
|
void OnDebugModeEntered();
|
|
void OnDebugModeLeft();
|
|
|
|
private:
|
|
Ui::CallStack ui;
|
|
QStandardItemModel* callstack_model;
|
|
|
|
/// Clears the callstack widget while keeping the column widths the same
|
|
void Clear();
|
|
};
|