Commit b7089bd0 authored by Sylvain Thery's avatar Sylvain Thery

Modification CMake 2.8 requis

Bug QColorDialog dans clipping volumique
parent 9416a673
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8)
project(examplesD) project(examplesD)
......
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8)
project(examples) project(examples)
......
...@@ -186,10 +186,7 @@ void Clipping::slot_spinBox_GridResolution(int i) ...@@ -186,10 +186,7 @@ void Clipping::slot_spinBox_GridResolution(int i)
void Clipping::slot_pushButton_changePlanesColor() void Clipping::slot_pushButton_changePlanesColor()
{ {
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);
......
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8)
project(Tutos) project(Tutos)
......
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8)
project(CGoGN) project(CGoGN)
......
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8)
project(CGoGNDebug) project(CGoGNDebug)
......
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8)
project(CGoGNRelease) project(CGoGNRelease)
......
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