fixed ui freezing (WHY DOES THIS LET THE WHOLE TASKBAR FREEZ???

This commit is contained in:
Niklas 2020-02-16 01:48:57 +01:00
parent b9155dd401
commit 0f8e8901fb

View File

@ -92,9 +92,9 @@ void ImgurUploader::handleSend(QString auth, QString mime, QByteArray byteArray,
}
if (!result.isEmpty()) {
ioutils::addLogEntry(r, data, result, sf);
utils::toClipboard(result);
notifications::notify(tr("KShare imgur Uploader"), tr("Uploaded to imgur!"));
notifications::playSound(notifications::Sound::SUCCESS);
utils::toClipboard(result);
} else {
ioutils::addLogEntry(r, data, result, sf);
notifications::notify(tr("KShare imgur Uploader "),