summaryrefslogtreecommitdiff
path: root/src/nexusinterface.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-01-05 20:00:16 -0600
committerSilarn <jrim@rimpo.org>2019-01-05 20:00:16 -0600
commite35cdd6c89ea27dfb8f3ea1f918192514617a64d (patch)
treef35f50185df88c5104ca6c47133d07b2254202a3 /src/nexusinterface.cpp
parent15e47114175d7dd86cd6e774aff1d7872e87a647 (diff)
parentf2c145b2fc9d6ffce838398e06f7aa583d05887d (diff)
Merge remote-tracking branch 'origin/Develop' into archive_conflicts_2
Diffstat (limited to 'src/nexusinterface.cpp')
-rw-r--r--src/nexusinterface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp
index e97e9800..c6f05405 100644
--- a/src/nexusinterface.cpp
+++ b/src/nexusinterface.cpp
@@ -226,7 +226,7 @@ void NexusInterface::interpretNexusFileName(const QString &fileName, QString &mo
} else {
modID = strtol(candidate.c_str(), nullptr, 10);
}
- qDebug("mod id guessed: %s -> %d", qPrintable(fileName), modID);
+ qDebug("mod id guessed: %s -> %d", qUtf8Printable(fileName), modID);
} else if (std::regex_search(fileNameUTF8.constData(), result, simpleexp)) {
qDebug("simple expression matched, using name only");
modName = QString::fromUtf8(result[1].str().c_str());
@@ -542,7 +542,7 @@ void NexusInterface::requestFinished(std::list<NXMRequestInfo>::iterator iter)
if (nexusError.length() == 0) {
nexusError = tr("empty response");
}
- qDebug("nexus error: %s", qPrintable(nexusError));
+ qDebug("nexus error: %s", qUtf8Printable(nexusError));
emit nxmRequestFailed(iter->m_GameName, iter->m_ModID, iter->m_FileID, iter->m_UserData, iter->m_ID, nexusError);
} else {
bool ok;
@@ -602,8 +602,8 @@ void NexusInterface::requestError(QNetworkReply::NetworkError)
}
qCritical("request (%s) error: %s (%d)",
- qPrintable(reply->url().toString()),
- qPrintable(reply->errorString()),
+ qUtf8Printable(reply->url().toString()),
+ qUtf8Printable(reply->errorString()),
reply->error());
}