diff options
| author | 2015-08-25 06:16:21 -0300 | |
|---|---|---|
| committer | 2015-09-07 16:46:30 -0300 | |
| commit | 2c98275b5196fcd1c0c479a3a357a44fce324e07 (patch) | |
| tree | 0747bd667536fe887b844f92c4c1c6cad0613f8b /src/citra_qt/debugger/graphics_vertex_shader.cpp | |
| parent | Shader Debugger: Fix only first vertex attribute being loaded (diff) | |
| download | yuzu-2c98275b5196fcd1c0c479a3a357a44fce324e07.tar.gz yuzu-2c98275b5196fcd1c0c479a3a357a44fce324e07.tar.xz yuzu-2c98275b5196fcd1c0c479a3a357a44fce324e07.zip | |
Shader Debugger: Remove useless signal
Diffstat (limited to 'src/citra_qt/debugger/graphics_vertex_shader.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp index 831ead51a..64a3569d4 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp | |||
| @@ -361,9 +361,6 @@ GraphicsVertexShaderWidget::GraphicsVertexShaderWidget(std::shared_ptr< Pica::De | |||
| 361 | 361 | ||
| 362 | cycle_index = new QSpinBox; | 362 | cycle_index = new QSpinBox; |
| 363 | 363 | ||
| 364 | connect(this, SIGNAL(SelectCommand(const QModelIndex&, QItemSelectionModel::SelectionFlags)), | ||
| 365 | binary_list->selectionModel(), SLOT(select(const QModelIndex&, QItemSelectionModel::SelectionFlags))); | ||
| 366 | |||
| 367 | connect(dump_shader, SIGNAL(clicked()), this, SLOT(DumpShader())); | 364 | connect(dump_shader, SIGNAL(clicked()), this, SLOT(DumpShader())); |
| 368 | 365 | ||
| 369 | connect(cycle_index, SIGNAL(valueChanged(int)), this, SLOT(OnCycleIndexChanged(int))); | 366 | connect(cycle_index, SIGNAL(valueChanged(int)), this, SLOT(OnCycleIndexChanged(int))); |
| @@ -550,7 +547,7 @@ void GraphicsVertexShaderWidget::OnCycleIndexChanged(int index) { | |||
| 550 | instruction_description->setText(text); | 547 | instruction_description->setText(text); |
| 551 | 548 | ||
| 552 | // Scroll to current instruction | 549 | // Scroll to current instruction |
| 553 | const QModelIndex& instr_index = model->index(record.instruction_offset, 0); | 550 | QModelIndex instr_index = model->index(record.instruction_offset, 0); |
| 554 | emit SelectCommand(instr_index, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows); | 551 | binary_list->selectionModel()->select(instr_index, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows); |
| 555 | binary_list->scrollTo(instr_index, QAbstractItemView::EnsureVisible); | 552 | binary_list->scrollTo(instr_index, QAbstractItemView::EnsureVisible); |
| 556 | } | 553 | } |