--- queensgui/src/solutionlist.cpp 2007/07/19 21:34:15 1 +++ queensgui/src/solutionlist.cpp 2007/07/19 22:26:42 2 @@ -64,18 +64,18 @@ if (m_halt) return; match_count = 0; - Solution tmp(*i); + Solution* tmp = (*i)->copy(); if (mirror) - tmp.mirror(); + tmp->mirror(); for (int k=0;krotate90(); //unders�g kun resten af m�ngden, start ved i+1 ListIt j =i; j++; for ( ; j!=solutions.end();j++) { - if ( tmp == (*j) ) + if ( *tmp == *(*j) ) { solutions.erase(j); m_uniqueRemoved++; @@ -87,12 +87,12 @@ } -void SolutionList::addSolution(Solution sol) +void SolutionList::addSolution(Solution* sol) { solutions.push_back(sol); } -Solution SolutionList::solution(int index) +Solution* SolutionList::solution(int index) { int count=0; ListIt it;