Changeset 0a4e16b182 in tspsg for src/settingsdialog.cpp
- Timestamp:
- May 31, 2011, 2:01:38 PM (13 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- b2be4c19a1
- Parents:
- 9f5cc00f29
- git-author:
- Oleksii Serdiuk <contacts@…> (05/31/11 14:01:38)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:46:00)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/settingsdialog.cpp
r9f5cc00f29 r0a4e16b182 288 288 289 289 font = qvariant_cast<QFont>(settings->value("Font", QFont(DEF_FONT_FACE, DEF_FONT_SIZE))); 290 color = qvariant_cast<QColor>(settings->value("Colors/Text", DEF_TEXT_COLOR));290 color = QColor(settings->value("Colors/Text", DEF_TEXT_COLOR).toString()); 291 291 settings->endGroup(); 292 292 … … 395 395 settings->setValue("Font", font); 396 396 if (_newColor) 397 settings->setValue("Colors/Text", color );397 settings->setValue("Colors/Text", color.name()); 398 398 settings->endGroup(); 399 399 QDialog::accept();
Note: See TracChangeset
for help on using the changeset viewer.