From 1f218bb8cdf325ad81a68d93cd2b86a05f3c6820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 9 Feb 2014 21:14:34 +0100 Subject: Fix template magic in group view. --- gui/groupview/GroupView.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gui/groupview') diff --git a/gui/groupview/GroupView.cpp b/gui/groupview/GroupView.cpp index 3f7dd6e0..73aa52ad 100644 --- a/gui/groupview/GroupView.cpp +++ b/gui/groupview/GroupView.cpp @@ -798,7 +798,7 @@ QPair GroupView::rowDropPos(const QPoint &pos) { if (pos.y() > y && pos.y() < (y + cat->headerHeight())) { - return qMakePair(nullptr, -1); + return qMakePair(nullptr, -1); } y += cat->totalHeight() + m_categoryMargin; if (pos.y() < y) @@ -809,7 +809,7 @@ QPair GroupView::rowDropPos(const QPoint &pos) } if (category == 0) { - return qMakePair(nullptr, -1); + return qMakePair(nullptr, -1); } } @@ -836,7 +836,7 @@ QPair GroupView::rowDropPos(const QPoint &pos) } if (internalColumn == -1) { - return qMakePair(nullptr, -1); + return qMakePair(nullptr, -1); } } @@ -856,13 +856,13 @@ QPair GroupView::rowDropPos(const QPoint &pos) } if (internalRow == -1) { - return qMakePair(nullptr, -1); + return qMakePair(nullptr, -1); } // this happens if we're in the margin between a one category and another // categories header if (internalRow > (indices.size() / itemsPerRow())) { - return qMakePair(nullptr, -1); + return qMakePair(nullptr, -1); } } -- cgit v1.2.3