mirror of https://github.com/CGAL/cgal
Use Qt progress bar in shape detection plugin
This commit is contained in:
parent
5ddb92da98
commit
a01ee0c2a5
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue