mirror of https://github.com/CGAL/cgal
Adress warnings and errors in the testsuite
This commit is contained in:
parent
ce3fe4f04e
commit
f65b7f744f
|
|
@ -154,8 +154,9 @@ MainWindow::MainWindow()
|
|||
this->setupOptionsMenu();
|
||||
this->addAboutDemo(":/cgal/help/about_Polygon_2.html");
|
||||
this->addAboutCGAL();
|
||||
// this->setupExportSVG(action_Export_SVG, graphicsView);
|
||||
|
||||
#if QT_SVG_LIB
|
||||
this->setupExportSVG(action_Export_SVG, graphicsView);
|
||||
#endif
|
||||
this->addRecentFiles(this->menuFile, this->actionQuit);
|
||||
connect(this, SIGNAL(openRecentFile(QString)),
|
||||
this, SLOT(open(QString)));
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ private:
|
|||
|
||||
template <typename K>
|
||||
GraphicsViewPolygonWithHolesInput<K>::GraphicsViewPolygonWithHolesInput(QObject *parent, QGraphicsScene* s)
|
||||
: GraphicsViewInput(parent), scene_(s), polygon_input(false)
|
||||
: GraphicsViewInput(parent), polygon_input(false), scene_(s)
|
||||
{
|
||||
pwhItem = new CGAL::Qt::PolygonWithHolesGraphicsItem<Polygon_with_holes>(&pwh);
|
||||
pwhItem->setBrush(::Qt::yellow);
|
||||
|
|
@ -151,7 +151,7 @@ GraphicsViewPolygonWithHolesInput<K>::processInput(CGAL::Object o)
|
|||
|
||||
template <typename K>
|
||||
void
|
||||
GraphicsViewPolygonWithHolesInput<K>::keyPressEvent ( QKeyEvent * event )
|
||||
GraphicsViewPolygonWithHolesInput<K>::keyPressEvent ( QKeyEvent * /* event */ )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ private:
|
|||
reconstruct_ring(std::list<Point_2>& ring,
|
||||
Face_handle face_adjacent_to_boundary,
|
||||
int opposite_vertex,
|
||||
const Fct& fct)
|
||||
const Fct& CGAL_assertion_code(fct))
|
||||
{
|
||||
// Create ring
|
||||
Face_handle current_face = face_adjacent_to_boundary;
|
||||
|
|
|
|||
Loading…
Reference in New Issue