Minor: Logging for reader, removed sort log message, guard name

This commit is contained in:
Klaus Basan
2016-04-02 18:57:09 +02:00
parent 63ddcc5d7c
commit 70aacf8cb1
4 changed files with 12 additions and 9 deletions

View File

@@ -587,13 +587,7 @@ namespace BlackGui
return Private::compareForModelSort<ObjectType>(a, b, order, propertyIndex, marker);
};
//! \todo Time measurement will be removed
QTime t;
t.start();
const ContainerType sorted = container.sorted(p);
int te = t.elapsed();
CLogMessage(this).info("Sorted %1 in %2") << typeid(ObjectType).name() << te;
return sorted;
return container.sorted(p);
}
template <typename ObjectType, typename ContainerType, bool UseCompare>