mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
[DownloadItem] Add date of completed download
[ci skip]
This commit is contained in:
parent
9c7d6e9795
commit
458f6fecf0
@ -183,7 +183,7 @@ void DownloadItem::finished()
|
||||
m_timer.stop();
|
||||
|
||||
QString host = m_reply ? m_reply->url().host() : m_ftpDownloader->url().host();
|
||||
ui->downloadInfo->setText(tr("Done - %1").arg(host));
|
||||
ui->downloadInfo->setText(tr("Done - %1 (%2)").arg(host, QDateTime::currentDateTime().toString(Qt::DefaultLocaleShortDate)));
|
||||
ui->progressBar->hide();
|
||||
ui->button->hide();
|
||||
ui->frame->hide();
|
||||
|
Loading…
Reference in New Issue
Block a user