Changeset 7cd6da5021 in tspsg for src/mainwindow.cpp
- Timestamp:
- Sep 3, 2010, 5:06:43 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- cb1608daaf
- Parents:
- ac76a6a753
- git-author:
- Oleksii Serdiuk <contacts@…> (09/03/10 17:06:43)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
rac76a6a753 r7cd6da5021 748 748 pic.begin(&graph); 749 749 pic.setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform); 750 QFont font = settings->value("Output/Font", QFont( getDefaultFont(), 9)).value<QFont>();750 QFont font = settings->value("Output/Font", QFont(DEF_FONT_FACE, 9)).value<QFont>(); 751 751 if (settings->value("Output/HQGraph", DEF_HQ_GRAPH).toBool()) { 752 752 font.setWeight(QFont::DemiBold); … … 1145 1145 void MainWindow::initDocStyleSheet() 1146 1146 { 1147 solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont( getDefaultFont(), DEF_FONT_SIZE)).value<QFont>());1147 solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(DEF_FONT_FACE, DEF_FONT_SIZE)).value<QFont>()); 1148 1148 1149 1149 fmt_paragraph.setTopMargin(0);
Note: See TracChangeset
for help on using the changeset viewer.