aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/citra_qt/debugger/graphics.cpp
diff options
context:
space:
mode:
authorGravatar Daniel Lundqvist <luda09yl@student.hj.se>2015-01-01 14:49:35 +0100
committerGravatar Daniel Lundqvist <luda09yl@student.hj.se>2015-01-01 14:49:35 +0100
commita35e3a86325b3cec765e08f3cf7c45a8ed2da143 (patch)
tree06c392883ef889701817c373e3895c87710a8f0d /src/citra_qt/debugger/graphics.cpp
parent08b6cf778da3240dc78cff748c38c1188c7e6b69 (diff)
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/citra_qt/debugger/graphics.cpp')
-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 6ff4c290..9633d367 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
GPUCommandStreamWidget::GPUCommandStreamWidget(QWidget* parent) : QDockWidget(tr("Graphics Debugger"), parent)
{
- // TODO: set objectName!
+ setObjectName("GraphicsDebugger");
GPUCommandStreamItemModel* command_model = new GPUCommandStreamItemModel(this);
g_debugger.RegisterObserver(command_model);