2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

photos overview blur, multimonitor photoview fix, os x file dialog default path

This commit is contained in:
John Preston
2014-09-21 20:52:37 -07:00
parent af9117e084
commit 40641133bc
10 changed files with 52 additions and 28 deletions

View File

@@ -2287,7 +2287,7 @@ void HistoryAudio::draw(QPainter &p, const HistoryItem *parent, bool selected, i
p.setPen(status->p);
if (already || hasdata) {
if (playing == data && playingState != VoiceMessageStopped) {
statusText = formatDurationText(playingPosition / AudioVoiceMsgFrequency);
statusText = formatDurationText(playingPosition / AudioVoiceMsgFrequency) + qsl(" / ") + formatDurationText(playingDuration / AudioVoiceMsgFrequency);
} else {
statusText = formatDurationText(data->duration);
}