Changeset e7f7d3854d in tspsg for src


Ignore:
Timestamp:
Jun 22, 2009, 9:59:44 AM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
2394ede291
Parents:
665d32434f
Message:

Fix for color selection dialog code to compile without errors using Qt < 4.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/settingsdialog.cpp

    r665d32434f re7f7d3854d  
    9393void SettingsDialog::buttonColorClicked()
    9494{
    95 QColorDialog cd(color,this);
    96         if (cd.exec() == QDialog::Accepted)
    97                 color = cd.selectedColor();
     95QColor color = QColorDialog::getColor(this->color,this);
     96        if (color.isValid())
     97                this->color = color;
    9898}
    9999
Note: See TracChangeset for help on using the changeset viewer.