From: Dirk H Bartley Date: Mon, 9 Apr 2007 01:47:56 +0000 (+0000) Subject: Use a hash QHash instead of QHash m_pagehash X-Git-Tag: Release-2.2.0~749 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=421dccb897df3b20cbe65da974e00e9e3aa29633;p=bacula%2Fdocs Use a hash QHash instead of QHash m_pagehash This way, the integer stored in QT::UserRole is not needed at all. The hash directly allows for conversion from a known treeWidgetItem to a page. Since the integer is not required to be passed and held in subclasses of the pages class, clean up the constructors of Subclasses to not get the integer value and set back to nearly like they were before. ---