src/guiutilities.cpp

changeset 978
4603d8fd063e
parent 977
dc3ceb65cda7
child 986
525921eae58c
--- a/src/guiutilities.cpp	Mon Aug 31 23:36:08 2015 +0300
+++ b/src/guiutilities.cpp	Sat Sep 05 23:03:24 2015 +0300
@@ -56,7 +56,7 @@
 {
 	QMap<LDColor, int> counts;
 
-	for (LDObject* obj : CurrentDocument()->objects())
+	for (LDObject* obj : currentDocument()->objects())
 	{
 		if (not obj->isColored() or not obj->color().isValid())
 			continue;

mercurial