"git@gitlab.completext.com:quzar/Cockatrice.git" did not exist on "9d3c4f20a1ecc8627ca5aebfc2f44a5ceb0bfe07"
Commit bd92f18e authored by Zach's avatar Zach
Browse files

Merge pull request #1293 from ctrlaltca/fix_1289

Force black text color on deck list
parents ac4c7455 800a17e4
......@@ -108,6 +108,9 @@ QVariant DeckListModel::data(const QModelIndex &index, int role) const
int color = 90 + 60 * node->depth();
return QBrush(QColor(color, 255, color));
}
case Qt::ForegroundRole: {
return QBrush(QColor(0 ,0 ,0));
}
default: return QVariant();
}
} else {
......@@ -125,6 +128,9 @@ QVariant DeckListModel::data(const QModelIndex &index, int role) const
int color = 255 - (index.row() % 2) * 30;
return QBrush(QColor(color, color, color));
}
case Qt::ForegroundRole: {
return QBrush(QColor(0 ,0 ,0));
}
default: return QVariant();
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment