mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-24 08:43:29 -05:00
New TODO comment style.
Qt Creator 2.5 is able to parse those.
This commit is contained in:
parent
8faac078fd
commit
587a647c11
16 changed files with 38 additions and 38 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue