citra-qt: Add helper function to get a monospace QFont
This commit is contained in:
parent
afd45d1d7f
commit
c7745408f7
6 changed files with 32 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue