┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/draganddrophelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/draganddrophelper.cpp')
-rw-r--r--src/draganddrophelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draganddrophelper.cpp b/src/draganddrophelper.cpp
index fa4c98566..637117a2b 100644
--- a/src/draganddrophelper.cpp
+++ b/src/draganddrophelper.cpp
@@ -64,7 +64,7 @@ void DragAndDropHelper::startDrag(QAbstractItemView* itemView,
isDragging = true;
QModelIndexList indexes = itemView->selectionModel()->selectedIndexes();
- if (indexes.count() > 0) {
+ if (!indexes.isEmpty()) {
QMimeData *data = itemView->model()->mimeData(indexes);
if (data == 0) {
return;