Commit b54da815 authored by Tomaz  Canabrava's avatar Tomaz Canabrava Committed by Kurt Hindenburg
Browse files

Also change the font of the default profile

parent 001aaf5c
...@@ -77,8 +77,7 @@ QVariant ProfileModel::data(const QModelIndex& idx, int role) const ...@@ -77,8 +77,7 @@ QVariant ProfileModel::data(const QModelIndex& idx, int role) const
} }
case Qt::DecorationRole: return QIcon::fromTheme(profile->icon()); case Qt::DecorationRole: return QIcon::fromTheme(profile->icon());
case Qt::FontRole: { case Qt::FontRole: {
// Default Profile if (ProfileManager::instance()->defaultProfile() == profile ) {
if (idx.row() == 0) {
QFont font; QFont font;
font.setItalic(true); font.setItalic(true);
return font; return font;
......
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