Merge pull request #340 from maxGimeno/Polyhedron_demo-WaitCursor_Fix-GF

Polyhedron demo: WaitCursor fix in the OFF plugin.
This commit is contained in:
Laurent Rineau 2015-09-23 12:20:38 +02:00
commit a4016ed4b4
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include <CGAL/IO/File_scanner_OFF.h>
#include <QMessageBox>
#include <QApplication>
class Polyhedron_demo_off_plugin :
public QObject,
@ -67,6 +68,7 @@ Polyhedron_demo_off_plugin::load(QFileInfo fileinfo) {
else
if( total_nb_of_vertices!= item->polyhedron()->size_of_vertices())
{
QApplication::restoreOverrideCursor();
QMessageBox::warning((QWidget*)NULL,
tr("Isolated vertices found"),
tr("%1 isolated vertices ignored")