diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-07-13 14:17:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2015-08-26 22:56:25 +0900 |
commit | d1fd5b9b238e16c1ee25f9dbb00a6a964d4061b9 (patch) | |
tree | dedcf70290f1c895824c3ea74054afaded446ffb /src/iconview/qiconview.h | |
parent | 6b9213a69c5a16e193f014c9b78d846cae716566 (diff) | |
download | qt3-d1fd5b9b238e16c1ee25f9dbb00a6a964d4061b9.tar.gz qt3-d1fd5b9b238e16c1ee25f9dbb00a6a964d4061b9.zip |
Fixed search algorithm for iconview widget. This resolves bug 420.
(cherry picked from commit d6867cf92e3f65b61a7289a478f97910b9fa4965)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/iconview/qiconview.h')
-rw-r--r-- | src/iconview/qiconview.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/iconview/qiconview.h b/src/iconview/qiconview.h index 4504690..e6c4548 100644 --- a/src/iconview/qiconview.h +++ b/src/iconview/qiconview.h @@ -497,12 +497,7 @@ private: DirLeft, DirRight }; - QIconViewItem* findItem( Direction dir, - const QPoint &relativeTo, - const QRect &searchRect ) const; - bool neighbourItem( Direction dir, - const QPoint &relativeTo, - const QIconViewItem *item ) const; + QIconViewItem* findItem(Direction dir, const QIconViewItem *fromItem) const; QBitmap mask( QPixmap *pix ) const; int visibleWidthSB() const; int visibleHeightSB() const; |