From 2486c554a0a4ac3f9cd999d3785d6a26de7bca56 Mon Sep 17 00:00:00 2001 From: Silarn Date: Tue, 8 May 2018 18:47:45 -0500 Subject: Small compat fix for Qt 5.11 --- src/downloadmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/downloadmanager.cpp') diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 2ab56fab..a63e6c45 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -499,7 +499,7 @@ void DownloadManager::addNXMDownload(const QString &url) for (DownloadInfo *download : m_ActiveDownloads) { if (download->m_FileInfo->modID == nxmInfo.modId() && download->m_FileInfo->fileID == nxmInfo.fileId()) { if (download->m_State == STATE_DOWNLOADING || download->m_State == STATE_PAUSED || download->m_State == STATE_STARTED) { - qDebug("download requested is already started (mod: %s, file: %s)", qPrintable(download->m_FileInfo->modID), + qDebug("download requested is already started (mod: %s, file: %s)", qPrintable(QString(download->m_FileInfo->modID)), qPrintable(download->m_FileInfo->fileName)); QMessageBox::information(nullptr, tr("Already Started"), tr("There is already a download started for this file (mod: %1, file: %2).") -- cgit v1.3.1