Fix comment

This commit is contained in:
craig.p.drummond
2014-08-17 15:03:02 +00:00
parent 7ca59a4ed1
commit 05f1badc30

View File

@@ -161,8 +161,8 @@ public:
// Use same calculation as in LibraryPage/AlbumsPage...
return QSize(imageSize+8, imageSize+(QApplication::fontMetrics().height()*2.5));
} else {
// TODO: Any poit to checking one-line here? All models return sub-text...
// Thisngs will be quicker if we dont call SubText here...
// TODO: Any point to checking one-line here? All models return sub-text...
// Things will be quicker if we dont call SubText here...
bool oneLine = false ; // index.data(Cantata::Role_SubText).toString().isEmpty();
bool showCapacity = !index.data(Cantata::Role_CapacityText).toString().isEmpty();
int textHeight = QApplication::fontMetrics().height()*(oneLine ? 1 : 2);