diff options
author | Lectem <lectem@gmail.com> | 2015-07-25 21:59:17 +0200 |
---|---|---|
committer | Lectem <lectem@gmail.com> | 2015-07-26 16:07:46 +0200 |
commit | cd06f5cedbd08e9ca9e89246c249ad7f341a7236 (patch) | |
tree | c719be02b1cac9ce64ddc9ac54fa2e9006721945 | |
parent | Merge pull request #986 from Lectem/better_widgets (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 4 |
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); |