Commit 880a1d57 authored by Linus Jahn's avatar Linus Jahn

update debug output

parent b975eedc
Pipeline #6651 passed with stages
in 17 minutes and 40 seconds
......@@ -83,11 +83,11 @@ void UploadManager::sendFile(const QString &jid, const QUrl &fileUrl, const QStr
QFileInfo file;
if (fileUrl.isLocalFile()) {
file = QFileInfo(fileUrl.toLocalFile());
kaidan->passiveNotificationRequested(QString("LOCAL FILE: %1 %2").arg(fileUrl.toString(), file.absoluteFilePath()));
kaidan->passiveNotificationRequested(QString("LOCAL FILE: %1 %2").arg(fileUrl.toString(), file.filePath()));
} else {
// this is used for android's content:/image:-URLs
file = QFileInfo(fileUrl.toString());
kaidan->passiveNotificationRequested(QString("OTHER FILE: %1 %2").arg(fileUrl.toString(), file.absoluteFilePath()));
kaidan->passiveNotificationRequested(QString("OTHER FILE: %1 %2").arg(fileUrl.toString(), file.filePath()));
const QXmppHttpUpload* upload = manager.uploadFile(file);
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