Turns out this was broken for a while now

This commit is contained in:
ArsenArsen 2017-05-13 18:32:55 +02:00
parent 5cc16b47d0
commit d17864ea22

View File

@ -19,6 +19,6 @@ void ImgurUploader::doUpload(QPixmap *pixmap) {
QString result = res.object()["data"].toObject()["link"].toString(); QString result = res.object()["data"].toObject()["link"].toString();
screenshotutil::toClipboard(result); screenshotutil::toClipboard(result);
notifications::notify("KShare imgur Uploader ", notifications::notify("KShare imgur Uploader ",
result.isEmpty() ? "Failed upload!" : "Upload done, but result empty!"); result.isEmpty() ? "Failed upload!" : "Uploaded to imgur!");
}); });
} }