src/gui.cpp

changeset 504
6a1fa662bfc1
parent 500
cad8cdc42a64
child 508
7ace3537a560
--- a/src/gui.cpp	Wed Oct 16 16:40:42 2013 +0300
+++ b/src/gui.cpp	Wed Oct 16 16:47:40 2013 +0300
@@ -167,8 +167,8 @@
 
 // =============================================================================
 // -----------------------------------------------------------------------------
-List<LDQuickColor> quickColorsFromConfig()
-{	List<LDQuickColor> colors;
+QList<LDQuickColor> quickColorsFromConfig()
+{	QList<LDQuickColor> colors;
 
 for (str colorname : gui_colortoolbar.value.split (":"))
 	{	if (colorname == "|")
@@ -251,7 +251,7 @@
 {	if (m_sel.size() == 0)
 		return 0;
 
-	List<LDObject*> selCopy = m_sel;
+	QList<LDObject*> selCopy = m_sel;
 	int num = 0;
 
 	// Delete the objects that were being selected
@@ -402,7 +402,7 @@
 	if (m_renderer->picking())
 		return;
 
-	List<LDObject*> priorSelection = m_sel;
+	QList<LDObject*> priorSelection = m_sel;
 
 	// Get the objects from the object list selection
 	m_sel.clear();
@@ -617,7 +617,7 @@
 
 // =============================================================================
 // -----------------------------------------------------------------------------
-void ForgeWindow::deleteObjVector (List<LDObject*> objs)
+void ForgeWindow::deleteObjVector (QList<LDObject*> objs)
 {	for (LDObject * obj : objs)
 	{	LDFile::current()->forgetObject (obj);
 		delete obj;
@@ -627,7 +627,7 @@
 // =============================================================================
 // -----------------------------------------------------------------------------
 void ForgeWindow::deleteByColor (const short colnum)
-{	List<LDObject*> objs;
+{	QList<LDObject*> objs;
 
 for (LDObject * obj : LDFile::current()->objects())
 	{	if (!obj->isColored() || obj->color() != colnum)

mercurial