summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics_vertex_shader.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-19 10:51:12 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-07 21:46:29 +0200
commitc1beb2ce2041c078674fb0cacafbccb4196cc3bc (patch)
tree89882ff65b6b7d465852e34d2c5673cfd16a9b1f /src/citra_qt/debugger/graphics_vertex_shader.h
parentShader Debugger: Improve space efficiency of the layout (diff)
downloadyuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar.gz
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar.bz2
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar.lz
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar.xz
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.tar.zst
yuzu-c1beb2ce2041c078674fb0cacafbccb4196cc3bc.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.h b/src/citra_qt/debugger/graphics_vertex_shader.h
index 1b3f1f7ec..d4e93103f 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.h
+++ b/src/citra_qt/debugger/graphics_vertex_shader.h
@@ -4,7 +4,7 @@
#pragma once
-#include <QAbstractListModel>
+#include <QAbstractTableModel>
#include "graphics_breakpoint_observer.h"
@@ -17,14 +17,12 @@ class QSpinBox;
class GraphicsVertexShaderWidget;
-class GraphicsVertexShaderModel : public QAbstractItemModel {
+class GraphicsVertexShaderModel : public QAbstractTableModel {
Q_OBJECT
public:
GraphicsVertexShaderModel(GraphicsVertexShaderWidget* parent);
- QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override;
- QModelIndex parent(const QModelIndex& child) const override;
int columnCount(const QModelIndex& parent = QModelIndex()) const override;
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;