Update qtree.cpp

license added