Fix comment
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user