aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/LogView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ui/widgets/LogView.cpp')
-rw-r--r--launcher/ui/widgets/LogView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/widgets/LogView.cpp b/launcher/ui/widgets/LogView.cpp
index 26a2a527..3bb5c69a 100644
--- a/launcher/ui/widgets/LogView.cpp
+++ b/launcher/ui/widgets/LogView.cpp
@@ -102,7 +102,7 @@ void LogView::rowsInserted(const QModelIndex& parent, int first, int last)
{
format.setFont(font.value<QFont>());
}
- auto fg = m_model->data(idx, Qt::TextColorRole);
+ auto fg = m_model->data(idx, Qt::ForegroundRole);
if(fg.isValid())
{
format.setForeground(fg.value<QColor>());