--- a/src/editmodes/selectMode.cc Sat Aug 22 13:51:20 2015 +0300 +++ b/src/editmodes/selectMode.cc Sat Aug 22 15:37:02 2015 +0300 @@ -118,7 +118,7 @@ if (ev->buttons() & Qt::LeftButton) { renderer()->document()->clearSelection(); - LDObjectPtr obj = renderer()->pickOneObject (ev->x(), ev->y()); + LDObject* obj = renderer()->pickOneObject (ev->x(), ev->y()); if (obj != null) {