Explorar o código

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.
Daniel Lundqvist %!s(int64=11) %!d(string=hai) anos
pai
achega
a35e3a8632
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/citra_qt/debugger/graphics.cpp

+ 1 - 1
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);