Commit 8402f715 authored by Sylvain Thery's avatar Sylvain Thery

bug du QtColorDialog (2ieme fois)

parent f551d7fc
...@@ -226,10 +226,8 @@ void Clipping::slot_spinBox_SphereResolution(int i) ...@@ -226,10 +226,8 @@ void Clipping::slot_spinBox_SphereResolution(int i)
void Clipping::slot_pushButton_changeSpheresColor() void Clipping::slot_pushButton_changeSpheresColor()
{ {
QColor NewColor; QColor NewColor = QColorDialog::getColor();
QColorDialog ColDialog;
NewColor = ColDialog.getColor();
int r, g, b; int r, g, b;
NewColor.getRgb(&r, &g, &b); NewColor.getRgb(&r, &g, &b);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment