mirror of https://github.com/CGAL/cgal
try to get rid of warning
This commit is contained in:
parent
9805a957d1
commit
7489eee639
|
|
@ -58,6 +58,7 @@ int main(int, char*)
|
||||||
#include <qtimer.h>
|
#include <qtimer.h>
|
||||||
#include <qtoolbar.h>
|
#include <qtoolbar.h>
|
||||||
#include <qtoolbutton.h>
|
#include <qtoolbutton.h>
|
||||||
|
#include <qstring>
|
||||||
|
|
||||||
const QString my_title_string("Nef_2 Demo with"
|
const QString my_title_string("Nef_2 Demo with"
|
||||||
" CGAL Qt_widget");
|
" CGAL Qt_widget");
|
||||||
|
|
@ -358,9 +359,9 @@ public slots:
|
||||||
Nef_polyhedron Nt(l_of_p.begin(), l_of_p.end(),
|
Nef_polyhedron Nt(l_of_p.begin(), l_of_p.end(),
|
||||||
Nef_polyhedron::INCLUDED);
|
Nef_polyhedron::INCLUDED);
|
||||||
Nef_visible = Nt;
|
Nef_visible = Nt;
|
||||||
char tnr[10];
|
QString tnr;
|
||||||
sprintf(tnr, "%d", poly.size());
|
tnr.setNum(poly.size());
|
||||||
strcat(tnr, "gon");
|
tnr.append("gon");
|
||||||
insert_in_list(Nt, tnr);
|
insert_in_list(Nt, tnr);
|
||||||
list1->setSelected(list1->count()-1, true);
|
list1->setSelected(list1->count()-1, true);
|
||||||
widget->set_window(poly.bbox().xmin(), poly.bbox().xmax(),
|
widget->set_window(poly.bbox().xmin(), poly.bbox().xmax(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue