| 309 | } |
| 310 | |
| 311 | void CFavoriteView::slotUpdateFavorite( |
| 312 | const QString &szFile, const QString &szName, |
| 313 | const QString &szDescription, const QIcon &icon) |
| 314 | { |
| 315 | if(!m_pModel || !m_pTreeView || szFile.isEmpty()) return; |
| 316 | m_pModel->UpdateFavorite(CDatabaseFile::SetFile(szFile), szName, szDescription, icon); |
| 317 | } |
| 318 | |
| 319 | void CFavoriteView::slotFavrtieClicked(const QModelIndex &index) |
| 320 | { |
no test coverage detected