Mesh_3 fix post merge

This commit is contained in:
Maxime Gimeno 2015-06-30 13:47:52 +02:00
parent 8ab112f5bd
commit 0a55b1399e
5 changed files with 6 additions and 11 deletions

View File

@ -117,7 +117,7 @@ private:
void compile_shaders();
void compute_texture(int, int);
public slots:
public Q_SLOTS:
void changed();
};

View File

@ -73,7 +73,7 @@ private:
void attrib_buffers(QGLViewer*) const;
void compile_shaders();
public slots:
public Q_SLOTS:
void changed();
}; // end class Scene_polygon_soup

View File

@ -75,7 +75,7 @@ private:
void attrib_buffers(QGLViewer*) const;
void compile_shaders();
public slots:
public Q_SLOTS:
void changed();
}; // end class Scene_polyhedron_item

View File

@ -78,7 +78,7 @@ private:
void attrib_buffers(QGLViewer*) const;
void compile_shaders();
void draw_Bbox(Bbox bbox, std::vector<float> *vertices);
public slots:
public Q_SLOTS:
void changed();
#endif // SCENE_SEGMENTED_IMAGE_GL_BUFFERS_AVAILABLE
};

View File

@ -54,23 +54,18 @@ Scene::erase(int index)
return -1;
Scene_item* item = entries[index];
<<<<<<< HEAD
#if QT_VERSION >= 0x050000
QAbstractListModel::beginResetModel();
emit itemAboutToBeDestroyed(item);
Q_EMIT itemAboutToBeDestroyed(item);
delete item;
entries.removeAt(index);
selected_item = -1;
emit updated();
Q_EMIT updated();
QAbstractListModel::endResetModel();
#else
emit itemAboutToBeDestroyed(item);
=======
Q_EMIT itemAboutToBeDestroyed(item);
>>>>>>> cgal/master
delete item;
entries.removeAt(index);