diff options
| author | 2015-08-19 17:00:56 -0300 | |
|---|---|---|
| committer | 2015-08-24 22:16:28 -0300 | |
| commit | c7745408f77a17771c1a26efb981d79aa66c9f66 (patch) | |
| tree | 21c29e6927d35d51a1a9becc43f004746a38e777 /src/citra_qt/debugger/graphics_vertex_shader.cpp | |
| parent | Merge pull request #1063 from Subv/hw_renderer_debug_fb (diff) | |
| download | yuzu-c7745408f77a17771c1a26efb981d79aa66c9f66.tar.gz yuzu-c7745408f77a17771c1a26efb981d79aa66c9f66.tar.xz yuzu-c7745408f77a17771c1a26efb981d79aa66c9f66.zip | |
citra-qt: Add helper function to get a monospace QFont
Diffstat (limited to 'src/citra_qt/debugger/graphics_vertex_shader.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp index 0c17edee0..1d9a00e89 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp | |||
| @@ -15,6 +15,8 @@ | |||
| 15 | #include <QSpinBox> | 15 | #include <QSpinBox> |
| 16 | #include <QTreeView> | 16 | #include <QTreeView> |
| 17 | 17 | ||
| 18 | #include "citra_qt/util/util.h" | ||
| 19 | |||
| 18 | #include "video_core/shader/shader.h" | 20 | #include "video_core/shader/shader.h" |
| 19 | 21 | ||
| 20 | #include "graphics_vertex_shader.h" | 22 | #include "graphics_vertex_shader.h" |
| @@ -245,7 +247,7 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con | |||
| 245 | } | 247 | } |
| 246 | 248 | ||
| 247 | case Qt::FontRole: | 249 | case Qt::FontRole: |
| 248 | return QFont("monospace"); | 250 | return GetMonospaceFont(); |
| 249 | 251 | ||
| 250 | case Qt::BackgroundRole: | 252 | case Qt::BackgroundRole: |
| 251 | // Highlight instructions which have no debug data associated to them | 253 | // Highlight instructions which have no debug data associated to them |