!38 close-cd: #I64SIW【音乐】本地删除音频后,播放历史列表中此音频信息未置灰
Merge pull request !38 from 刘佳阳/openkylin/yangtze
This commit is contained in:
commit
90da852685
|
@ -355,7 +355,7 @@ void TableHistory::setHighlight(int index)
|
|||
QFileInfo info(pathList[i]);
|
||||
if(info.exists() == false) {
|
||||
for (int j=0; j<4; j++){
|
||||
m_model->m_model.item(i,j)->setForeground(QBrush(QColor(Qt::gray)));
|
||||
m_model->m_model.item(i,j)->setForeground(QBrush(QColor(Qt::gray))); //置灰
|
||||
m_model->m_model.item(i,j)->setData(tr("path does not exist"),Qt::ToolTipRole);
|
||||
}
|
||||
}
|
||||
|
@ -386,7 +386,7 @@ void TableHistory::setHighlight(int index)
|
|||
QFileInfo info(pathList[i]);
|
||||
if(info.exists() == false) {
|
||||
for (int j=0; j<4; j++){
|
||||
m_model->m_model.item(i,j)->setForeground(QBrush(QColor(Qt::gray)));
|
||||
m_model->m_model.item(i,j)->setForeground(QBrush(QColor(Qt::gray))); //置灰
|
||||
m_model->m_model.item(i,j)->setData(tr("path does not exist"),Qt::ToolTipRole);
|
||||
|
||||
}
|
||||
|
|
|
@ -995,7 +995,7 @@ void TableOne::setHightLightAndSelect()
|
|||
QFileInfo info(pathList[i]);
|
||||
if(info.exists() == false) {
|
||||
for (int j=0; j<4; j++){
|
||||
m_model->m_model.item(i,j)->setForeground(QBrush(QColor(Qt::gray)));
|
||||
m_model->m_model.item(i,j)->setForeground(QBrush(QColor(Qt::gray))); //置灰
|
||||
m_model->m_model.item(i,j)->setData(tr("path does not exist"),Qt::ToolTipRole);
|
||||
m_model->m_model.item(i,j)->setData(QString("nofile"),Qt::StatusTipRole);
|
||||
}
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
kylin-music (1.1.0.47-ok6~0736) yangtze; urgency=medium
|
||||
|
||||
* [BUG]
|
||||
- close-cd: #I64SIW【音乐】本地删除音频后,播放历史列表中此音频信息未置灰
|
||||
|
||||
* 其他: 无
|
||||
|
||||
-- liujiayang <liujiayang@kylinos.cn> Mon, 04 Sep 2023 12:02:26 +0800
|
||||
|
||||
kylin-music (1.1.0.47-ok6~0735) yangtze; urgency=medium
|
||||
|
||||
* [BUG]
|
||||
|
|
Loading…
Reference in New Issue