diff options
author | Daniel Lundqvist <luda09yl@student.hj.se> | 2015-01-01 14:49:35 +0100 |
---|---|---|
committer | Daniel Lundqvist <luda09yl@student.hj.se> | 2015-01-01 14:49:35 +0100 |
commit | a35e3a86325b3cec765e08f3cf7c45a8ed2da143 (patch) | |
tree | 06c392883ef889701817c373e3895c87710a8f0d | |
parent | 08b6cf778da3240dc78cff748c38c1188c7e6b69 (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.
-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 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); |