Use Qt progress bar in shape detection plugin

This commit is contained in:
Simon Giraudot 2018-03-09 13:14:01 +01:00
parent 5ddb92da98
commit a01ee0c2a5
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
#include <CGAL/structure_point_set.h>
#include "Progress_bar_callback.h"
#include "Qt_progress_bar_callback.h"
#include <QObject>
#include <QAction>
@ -255,7 +255,7 @@ private:
// The actual shape detection.
CGAL::Real_timer t;
t.start();
Progress_bar_callback callback;
Qt_progress_bar_callback callback ("Detecting shapes...", mw);
shape_detection.detect(op, callback);
t.stop();