mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 09:18:18 -05:00
citra-qt: Add helper function to get a monospace QFont
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user