comparison view/Pane.cpp @ 327:29fcf125f98b

* Pass StorageAdviser::Criteria into FFTModel constructor etc
author Chris Cannam
date Sun, 11 Nov 2007 20:31:12 +0000
parents 4f4f38a11cd2
children e74b56f07c73 64e84e5efb76
comparison
equal deleted inserted replaced
326:4f4f38a11cd2 327:29fcf125f98b
808 void 808 void
809 Pane::drawWorkTitle(QRect r, QPainter &paint, const Model *model) 809 Pane::drawWorkTitle(QRect r, QPainter &paint, const Model *model)
810 { 810 {
811 QString title = model->getTitle(); 811 QString title = model->getTitle();
812 QString maker = model->getMaker(); 812 QString maker = model->getMaker();
813 //std::cerr << "Pane::drawWorkTitle: title=\"" << title.toStdString()
814 //<< "\", maker=\"" << maker.toStdString() << "\"" << std::endl;
813 if (title == "") return; 815 if (title == "") return;
814 816
815 QString text = title; 817 QString text = title;
816 if (maker != "") { 818 if (maker != "") {
817 text = tr("%1 - %2").arg(title).arg(maker); 819 text = tr("%1 - %2").arg(title).arg(maker);