summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Daniel Lundqvist2015-01-01 14:49:35 +0100
committerGravatar Daniel Lundqvist2015-01-01 14:49:35 +0100
commita35e3a86325b3cec765e08f3cf7c45a8ed2da143 (patch)
tree06c392883ef889701817c373e3895c87710a8f0d /src
parentMerge pull request #265 from Subv/socu (diff)
downloadyuzu-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.
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/debugger/graphics.cpp2
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
73GPUCommandStreamWidget::GPUCommandStreamWidget(QWidget* parent) : QDockWidget(tr("Graphics Debugger"), parent) 73GPUCommandStreamWidget::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);