mirror of https://github.com/procxx/kepka.git
fixed audio mark as read after download
This commit is contained in:
parent
7ca4ec1bed
commit
f24e3c6192
|
@ -1369,6 +1369,7 @@ void MainWidget::audioLoadProgress(mtpFileLoader *loader) {
|
||||||
audioVoice()->pauseresume();
|
audioVoice()->pauseresume();
|
||||||
} else {
|
} else {
|
||||||
audioVoice()->play(audio);
|
audioVoice()->play(audio);
|
||||||
|
if (App::main()) App::main()->audioMarkRead(audio);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
QPoint pos(QCursor::pos());
|
QPoint pos(QCursor::pos());
|
||||||
|
@ -1377,6 +1378,7 @@ void MainWidget::audioLoadProgress(mtpFileLoader *loader) {
|
||||||
} else {
|
} else {
|
||||||
psOpenFile(already, audio->openOnSave < 0);
|
psOpenFile(already, audio->openOnSave < 0);
|
||||||
}
|
}
|
||||||
|
if (App::main()) App::main()->audioMarkRead(audio);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue