Mercurial > hg > easaier-soundaccess
diff widgets/QueryResultsWidget.cpp @ 268:ee047fc1a552
if no title is present in the results list, it is replace by "unknown"
when a new TIMELINE INFORMATION layer is loaded the sample rate is set up to the main model (WaveFileModel) sample rate.
author | lbajardsilogic |
---|---|
date | Wed, 25 Jun 2008 09:47:11 +0000 |
parents | c12986afc03c |
children | fd4d0ccb7bc3 |
line wrap: on
line diff
--- a/widgets/QueryResultsWidget.cpp Mon Jun 23 15:03:11 2008 +0000 +++ b/widgets/QueryResultsWidget.cpp Wed Jun 25 09:47:11 2008 +0000 @@ -202,7 +202,10 @@ label += "<a href=\""; label += uri; label += "\">"; - label += title; + if (title != "") + label += title; + else + label += "unknown"; label += "</a>\""; labelTitleArtist->setText(label); labelTitleArtist->setWordWrap(true);