diff options
Diffstat (limited to 'src/citra_qt/debugger/graphics_cmdlists.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp index 35a3140b2..025434687 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.cpp +++ b/src/citra_qt/debugger/graphics_cmdlists.cpp | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | #include <QSpinBox> | 14 | #include <QSpinBox> |
| 15 | #include <QComboBox> | 15 | #include <QComboBox> |
| 16 | 16 | ||
| 17 | #include "citra_qt/util/util.h" | ||
| 18 | |||
| 17 | #include "common/vector_math.h" | 19 | #include "common/vector_math.h" |
| 18 | 20 | ||
| 19 | #include "video_core/debug_utils/debug_utils.h" | 21 | #include "video_core/debug_utils/debug_utils.h" |
| @@ -303,9 +305,7 @@ GPUCommandListWidget::GPUCommandListWidget(QWidget* parent) : QDockWidget(tr("Pi | |||
| 303 | 305 | ||
| 304 | list_widget = new QTreeView; | 306 | list_widget = new QTreeView; |
| 305 | list_widget->setModel(model); | 307 | list_widget->setModel(model); |
| 306 | QFont font("monospace"); | 308 | list_widget->setFont(GetMonospaceFont()); |
| 307 | font.setStyleHint(QFont::Monospace); // Automatic fallback to a monospace font on on platforms without a font called "monospace" | ||
| 308 | list_widget->setFont(font); | ||
| 309 | list_widget->setRootIsDecorated(false); | 309 | list_widget->setRootIsDecorated(false); |
| 310 | list_widget->setUniformRowHeights(true); | 310 | list_widget->setUniformRowHeights(true); |
| 311 | 311 | ||