Changeset a713b103e8 in tspsg for src/settingsdialog.cpp


Ignore:
Timestamp:
Sep 10, 2010, 7:49:32 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
cac8759dba
Parents:
2a436ea693
git-author:
Oleksii Serdiuk <contacts@…> (09/10/10 19:49:32)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
Message:
  • TSPSG now compiles when QtConcurrent? is not available (QT_NO_CONCURRENT is set).
  • Don't set non-existent icons under Windows Mobile.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/settingsdialog.cpp

    r2a436ea693 ra713b103e8  
    255255        cbScrollToEnd->setChecked(settings->value("ScrollToEnd", DEF_SCROLL_TO_END).toBool());
    256256
    257         font = settings->value("Font", QFont(DEF_FONT_FACE, DEF_FONT_SIZE)).value<QFont>();
    258         color = settings->value("Colors/Text", DEF_TEXT_COLOR).value<QColor>();
     257        font = qvariant_cast<QFont>(settings->value("Font", QFont(DEF_FONT_FACE, DEF_FONT_SIZE)));
     258        color = qvariant_cast<QColor>(settings->value("Colors/Text", DEF_TEXT_COLOR));
    259259        settings->endGroup();
    260260
Note: See TracChangeset for help on using the changeset viewer.