diff options
| author | 2015-01-01 14:49:35 +0100 | |
|---|---|---|
| committer | 2015-01-01 14:49:35 +0100 | |
| commit | a35e3a86325b3cec765e08f3cf7c45a8ed2da143 (patch) | |
| tree | 06c392883ef889701817c373e3895c87710a8f0d | |
| parent | Merge pull request #265 from Subv/socu (diff) | |
| download | yuzu-a35e3a86325b3cec765e08f3cf7c45a8ed2da143.tar.gz yuzu-a35e3a86325b3cec765e08f3cf7c45a8ed2da143.tar.xz yuzu-a35e3a86325b3cec765e08f3cf7c45a8ed2da143.zip | |
Set object name for the graphics debugger
Setting an object name for GPUCommandStreamWidget allows for saving the
graphics debugger's state (if it's show, position, etc). This state is
then restored when restarting the application.
| -rw-r--r-- | src/citra_qt/debugger/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics.cpp b/src/citra_qt/debugger/graphics.cpp index 6ff4c290d..9633d367e 100644 --- a/src/citra_qt/debugger/graphics.cpp +++ b/src/citra_qt/debugger/graphics.cpp | |||
| @@ -72,7 +72,7 @@ void GPUCommandStreamItemModel::OnGXCommandFinishedInternal(int total_command_co | |||
| 72 | 72 | ||
| 73 | GPUCommandStreamWidget::GPUCommandStreamWidget(QWidget* parent) : QDockWidget(tr("Graphics Debugger"), parent) | 73 | GPUCommandStreamWidget::GPUCommandStreamWidget(QWidget* parent) : QDockWidget(tr("Graphics Debugger"), parent) |
| 74 | { | 74 | { |
| 75 | // TODO: set objectName! | 75 | setObjectName("GraphicsDebugger"); |
| 76 | 76 | ||
| 77 | GPUCommandStreamItemModel* command_model = new GPUCommandStreamItemModel(this); | 77 | GPUCommandStreamItemModel* command_model = new GPUCommandStreamItemModel(this); |
| 78 | g_debugger.RegisterObserver(command_model); | 78 | g_debugger.RegisterObserver(command_model); |