Changeset 176 in tspsg-svn for trunk/src/settingsdialog.cpp
- Timestamp:
- May 31, 2011, 2:01:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/settingsdialog.cpp
r175 r176 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.