1
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:
Javier Llorente 2014-03-26 16:20:12 +01:00 committed by nowrep
parent 9c7d6e9795
commit 458f6fecf0

View File

@ -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();