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=9fb93c51f257cfd8abe460634b75f45799612e34;p=bacula%2Frescue 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. ---