[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/apps/plasma/applets/folderview
From: Fredrik Höglund <fredrik () kde ! org>
Date: 2010-01-27 16:38:07
Message-ID: 1264610287.317461.3737.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1081058 by fredrik:
Make sure the bounding rect for the moved icons includes the whole grid cells.
M +2 -1 iconview.cpp
--- trunk/KDE/kdebase/apps/plasma/applets/folderview/iconview.cpp #1081057:1081058
@@ -2210,7 +2210,8 @@
foreach (const KUrl &url, KUrl::List::fromMimeData(event->mimeData())) {
const QModelIndex index = m_model->indexForUrl(url);
if (index.isValid()) {
- boundingRect |= m_items[index.row()].rect;
+ const QRect rect(m_items[index.row()].rect.topLeft(), gridSize());
+ boundingRect |= rect;
indexes.append(index);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic