diff options
| author | Silarn <jrim@rimpo.org> | 2018-05-08 18:47:45 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-05-08 18:47:45 -0500 |
| commit | 2486c554a0a4ac3f9cd999d3785d6a26de7bca56 (patch) | |
| tree | f3792d7b2229ae80963897781aec6f44ce89920a /src | |
| parent | 632474ef9794369131d37642b207ccd98e5a4b39 (diff) | |
Small compat fix for Qt 5.11
Diffstat (limited to 'src')
| -rw-r--r-- | src/downloadmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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).")
|
