src/toolsets/movetoolset.cpp

changeset 1162
94e12806d741
parent 1145
02264bf0108d
child 1164
eabcd749759a
--- a/src/toolsets/movetoolset.cpp	Thu Feb 23 20:25:47 2017 +0200
+++ b/src/toolsets/movetoolset.cpp	Thu Feb 23 20:28:17 2017 +0200
@@ -31,7 +31,7 @@
 void MoveToolset::moveSelection (bool up)
 {
 	// TODO: order these!
-	LDObjectList objs = selectedObjects().toList();
+	QVector<LDObject*> objs = selectedObjects().toList().toVector();
 
 	if (objs.isEmpty())
 		return;
@@ -211,4 +211,4 @@
 		m_config->setRotationPointType((int) pointType);
 		m_config->setCustomRotationPoint (custompoint);
 	}
-}
\ No newline at end of file
+}

mercurial