diff options
| author | 2016-09-21 11:29:48 -0700 | |
|---|---|---|
| committer | 2016-09-21 11:29:48 -0700 | |
| commit | d5d2ca8058a0f1c00ab7ca9fe2c058ba47546c0a (patch) | |
| tree | 8a22ca73ff838f3f0090b29a548ae81087fc90ed /src/citra_qt/debugger/graphics_cmdlists.h | |
| parent | README: Specify master branch for Travis CI badge (diff) | |
| parent | Fix Travis clang-format check (diff) | |
| download | yuzu-d5d2ca8058a0f1c00ab7ca9fe2c058ba47546c0a.tar.gz yuzu-d5d2ca8058a0f1c00ab7ca9fe2c058ba47546c0a.tar.xz yuzu-d5d2ca8058a0f1c00ab7ca9fe2c058ba47546c0a.zip | |
Merge pull request #2086 from linkmauve/clang-format
Add clang-format as part of our {commit,travis}-time checks
Diffstat (limited to 'src/citra_qt/debugger/graphics_cmdlists.h')
| -rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.h b/src/citra_qt/debugger/graphics_cmdlists.h index 8a2a294b9..fa2b9122b 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.h +++ b/src/citra_qt/debugger/graphics_cmdlists.h | |||
| @@ -6,15 +6,13 @@ | |||
| 6 | 6 | ||
| 7 | #include <QAbstractListModel> | 7 | #include <QAbstractListModel> |
| 8 | #include <QDockWidget> | 8 | #include <QDockWidget> |
| 9 | |||
| 10 | #include "video_core/gpu_debugger.h" | ||
| 11 | #include "video_core/debug_utils/debug_utils.h" | 9 | #include "video_core/debug_utils/debug_utils.h" |
| 10 | #include "video_core/gpu_debugger.h" | ||
| 12 | 11 | ||
| 13 | class QPushButton; | 12 | class QPushButton; |
| 14 | class QTreeView; | 13 | class QTreeView; |
| 15 | 14 | ||
| 16 | class GPUCommandListModel : public QAbstractListModel | 15 | class GPUCommandListModel : public QAbstractListModel { |
| 17 | { | ||
| 18 | Q_OBJECT | 16 | Q_OBJECT |
| 19 | 17 | ||
| 20 | public: | 18 | public: |
| @@ -27,7 +25,8 @@ public: | |||
| 27 | int columnCount(const QModelIndex& parent = QModelIndex()) const override; | 25 | int columnCount(const QModelIndex& parent = QModelIndex()) const override; |
| 28 | int rowCount(const QModelIndex& parent = QModelIndex()) const override; | 26 | int rowCount(const QModelIndex& parent = QModelIndex()) const override; |
| 29 | QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; | 27 | QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; |
| 30 | QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; | 28 | QVariant headerData(int section, Qt::Orientation orientation, |
| 29 | int role = Qt::DisplayRole) const override; | ||
| 31 | 30 | ||
| 32 | public slots: | 31 | public slots: |
| 33 | void OnPicaTraceFinished(const Pica::DebugUtils::PicaTrace& trace); | 32 | void OnPicaTraceFinished(const Pica::DebugUtils::PicaTrace& trace); |
| @@ -36,8 +35,7 @@ private: | |||
| 36 | Pica::DebugUtils::PicaTrace pica_trace; | 35 | Pica::DebugUtils::PicaTrace pica_trace; |
| 37 | }; | 36 | }; |
| 38 | 37 | ||
| 39 | class GPUCommandListWidget : public QDockWidget | 38 | class GPUCommandListWidget : public QDockWidget { |
| 40 | { | ||
| 41 | Q_OBJECT | 39 | Q_OBJECT |
| 42 | 40 | ||
| 43 | public: | 41 | public: |