From 6b349998edbdbde3b370ac1bd8350b23a49f72b6 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 6 Dec 2015 10:36:53 +0100 Subject: [PATCH] fix clang warnings --- src/kselectionproxymodel.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/kselectionproxymodel.cpp b/src/kselectionproxymodel.cpp index 03affb6..4d7af29 100644 --- a/src/kselectionproxymodel.cpp +++ b/src/kselectionproxymodel.cpp @@ -34,9 +34,6 @@ typedef KBiHash SourceProxyIndexMapping; typedef KBiHash ParentMapping; typedef KHash2Map SourceIndexProxyRowMapping; -#define KDO(object) qDebug() << #object << object -#define SON(object) object->setObjectName(#object) - /** Return true if @p idx is a descendant of one of the indexes in @p list. Note that this returns false if @p list contains @p idx. @@ -394,7 +391,7 @@ static QItemSelection stableNormalizeSelection(const QItemSelection &selection) return result; } -QItemSelection kNormalizeSelection(QItemSelection selection) +static QItemSelection kNormalizeSelection(QItemSelection selection) { if (selection.size() <= 1) { return selection;