summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger
diff options
context:
space:
mode:
authorLectem <lectem@gmail.com>2015-07-25 21:59:17 +0200
committerLectem <lectem@gmail.com>2015-07-26 16:07:46 +0200
commitcd06f5cedbd08e9ca9e89246c249ad7f341a7236 (patch)
treec719be02b1cac9ce64ddc9ac54fa2e9006721945 /src/citra_qt/debugger
parentMerge pull request #986 from Lectem/better_widgets (diff)
downloadyuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar
yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar.gz
yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar.bz2
yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar.lz
yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar.xz
yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.tar.zst
yuzu-cd06f5cedbd08e9ca9e89246c249ad7f341a7236.zip
Diffstat (limited to 'src/citra_qt/debugger')
-rw-r--r--src/citra_qt/debugger/graphics_cmdlists.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp
index 7ac3ea542..9034b120e 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.cpp
+++ b/src/citra_qt/debugger/graphics_cmdlists.cpp
@@ -300,7 +300,9 @@ GPUCommandListWidget::GPUCommandListWidget(QWidget* parent) : QDockWidget(tr("Pi
list_widget = new QTreeView;
list_widget->setModel(model);
- list_widget->setFont(QFont("monospace"));
+ QFont font("monospace");
+ font.setStyleHint(QFont::Monospace); // Automatic fallback to a monospace font on on platforms without a font called "monospace"
+ list_widget->setFont(font);
list_widget->setRootIsDecorated(false);
list_widget->setUniformRowHeights(true);