Merge pull request #14162 from Chocobo1/flags

Disable compiler flags
This commit is contained in:
sledgehammer999
2021-01-09 14:08:55 +02:00
committed by GitHub
10 changed files with 30 additions and 23 deletions

View File

@@ -655,7 +655,7 @@ void AddNewTorrentDialog::setupTreeview()
// Set torrent information
m_ui->labelCommentData->setText(Utils::Misc::parseHtmlLinks(m_torrentInfo.comment().toHtmlEscaped()));
m_ui->labelDateData->setText(!m_torrentInfo.creationDate().isNull() ? m_torrentInfo.creationDate().toString(Qt::DefaultLocaleShortDate) : tr("Not available"));
m_ui->labelDateData->setText(!m_torrentInfo.creationDate().isNull() ? QLocale().toString(m_torrentInfo.creationDate(), QLocale::ShortFormat) : tr("Not available"));
// Prepare content tree
m_contentModel = new TorrentContentFilterModel(this);