Ref T369, font setting improvements

- color can be hidden
- access to QFont value/getter for family/style/size
- renaming
This commit is contained in:
Klaus Basan
2018-09-23 03:28:35 +02:00
parent 527f666d1f
commit 0bb56fedfb
5 changed files with 63 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ namespace BlackGui
m_dialog.reset(new CSettingsFontDialog(m_widget));
m_dialog->setModal(true);
}
m_dialog->setCurrentFont(m_widget->font());
m_dialog->setFont(m_widget->font());
const int r = m_dialog->exec();
if (r == QDialog::Rejected) { return; }
const QString qss(m_dialog->getQss());