From kde-panel-devel Mon Aug 17 03:53:52 2009 From: =?GB2312?B?IsXLzsDGvShQZXRlciBQYW4pIg==?= Date: Mon, 17 Aug 2009 03:53:52 +0000 To: kde-panel-devel Subject: Re: [PATCH] BUG 204118 only one dolphin left in quicklaunch after Message-Id: <4A88D450.6050703 () redflag-linux ! com> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=125048139204057 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------060408070201030807090300" This is a multi-part message in MIME format. --------------060408070201030807090300 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit ÅËÎÀƽ(Peter Pan) дµÀ: > Hi, all > > Maybe we should use QMultiHash instead of QHash when sorting. > > Regards patch is followed. -- ÅËÎÀƽ(Peter Pan) Red Flag Software Co., Ltd --------------060408070201030807090300 Content-Type: text/x-patch; name="kdebase-quicklaunch-sort.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kdebase-quicklaunch-sort.patch" Index: quicklaunchApplet.cpp =================================================================== --- quicklaunchApplet.cpp (revision 1012182) +++ quicklaunchApplet.cpp (working copy) @@ -415,7 +415,7 @@ void QuicklaunchApplet::sortQuicklaunch(SortingOrder sortingorder) { - QHash quicklaunchHash; + QMultiHash quicklaunchHash; KUrl::List urls; QList sortedList; QList saveSortedUrlList; --------------060408070201030807090300 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --------------060408070201030807090300--