New TODO comment style.

Qt Creator 2.5 is able to parse those.
This commit is contained in:
Felix Geyer 2012-05-11 12:39:06 +02:00
parent 8faac078fd
commit 587a647c11
16 changed files with 38 additions and 38 deletions

View file

@ -100,7 +100,7 @@ QImage Group::icon() const
return databaseIcons()->icon(m_iconNumber);
}
else {
// TODO check if m_db is 0
// TODO: check if m_db is 0
return m_db->metadata()->customIcon(m_customIcon);
}
}
@ -113,7 +113,7 @@ QPixmap Group::iconPixmap() const
else {
QPixmap pixmap;
if (!QPixmapCache::find(m_pixmapCacheKey, &pixmap)) {
// TODO check if m_db is 0
// TODO: check if m_db is 0
pixmap = QPixmap::fromImage(m_db->metadata()->customIcon(m_customIcon));
*const_cast<QPixmapCache::Key*>(&m_pixmapCacheKey) = QPixmapCache::insert(pixmap);
}