Commit 50b078d0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qCDebug

parent c6f81eb5
...@@ -68,7 +68,7 @@ bool LibarchivePlugin::list() ...@@ -68,7 +68,7 @@ bool LibarchivePlugin::list()
return false; return false;
} }
qDebug(ARK) << "Detected compression filter:" << archive_filter_name(m_archiveReader.data(), 0); qCDebug(ARK) << "Detected compression filter:" << archive_filter_name(m_archiveReader.data(), 0);
QString compMethod = convertCompressionName(QString::fromUtf8(archive_filter_name(m_archiveReader.data(), 0))); QString compMethod = convertCompressionName(QString::fromUtf8(archive_filter_name(m_archiveReader.data(), 0)));
if (!compMethod.isEmpty()) { if (!compMethod.isEmpty()) {
emit compressionMethodFound(compMethod); emit compressionMethodFound(compMethod);
...@@ -86,7 +86,7 @@ bool LibarchivePlugin::list() ...@@ -86,7 +86,7 @@ bool LibarchivePlugin::list()
while (!QThread::currentThread()->isInterruptionRequested() && (result = archive_read_next_header(m_archiveReader.data(), &aentry)) == ARCHIVE_OK) { while (!QThread::currentThread()->isInterruptionRequested() && (result = archive_read_next_header(m_archiveReader.data(), &aentry)) == ARCHIVE_OK) {
if (firstEntry) { if (firstEntry) {
qDebug(ARK) << "Detected format for first entry:" << archive_format_name(m_archiveReader.data()); qCDebug(ARK) << "Detected format for first entry:" << archive_format_name(m_archiveReader.data());
firstEntry = false; firstEntry = false;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment