aboutsummaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics_vertex_shader.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-19 17:00:56 -0300
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-24 22:16:28 -0300
commitc7745408f77a17771c1a26efb981d79aa66c9f66 (patch)
tree21c29e6927d35d51a1a9becc43f004746a38e777 /src/citra_qt/debugger/graphics_vertex_shader.cpp
parentafd45d1d7f444c25ad7d8166e49170ff90aac76d (diff)
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.cpp4
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 0c17edee09..1d9a00e899 100644
--- a/src/citra_qt/debugger/graphics_vertex_shader.cpp
+++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp
@@ -15,6 +15,8 @@
#include <QSpinBox>
#include <QTreeView>
+#include "citra_qt/util/util.h"
+
#include "video_core/shader/shader.h"
#include "graphics_vertex_shader.h"
@@ -245,7 +247,7 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con
}
case Qt::FontRole:
- return QFont("monospace");
+ return GetMonospaceFont();
case Qt::BackgroundRole:
// Highlight instructions which have no debug data associated to them