Finally Weekend!
Finally Weekend! Not much happening at work, actually that little that when getting home in the evening I'm all tired. But now it is weekend, time to loong day of KDE development :-)
I started the weekend rather nasty by eating too much Nachos, and now I'm too
full. Next I guess I will be coding for a few hours, then it is off to the
movies to watch
I also started the coding weekend out by a suboptimal implementation of a clone method, check it out:
CategoryItem* clone() const { CategoryItem* result = new CategoryItem( _name ); for( QValueList::ConstIterator it = _subcategories.begin(); it != _subcategories.end(); ++it ) { _subcategories.append( (*it)->clone() ); } return result; }
Got it? Well the problem is that I don't append children to the result but to the object i try to clone. Darn it took my computer 15 minutes to coma out of that come after it started eating a lot of memory.
Finally, a message to, my perhaps only reader, Steve: Tell Jenny that she won't stand a chance tomorrow in badminton :-)
Happy Weekend, everyone!