Fixed issue with copying url. This issue always occurs in places clipboard actions happen ahead of notifications
This commit is contained in:
committed by
borgmanJeremy
parent
c5c4cfb7f5
commit
0401bf08ea
@@ -95,9 +95,9 @@ void ImgurUploader::handleReply(QNetworkReply* reply)
|
||||
history.save(m_pixmap, imageName);
|
||||
|
||||
if (ConfigHandler().copyAndCloseAfterUploadEnabled()) {
|
||||
QApplication::clipboard()->setText(m_imageURL.toString());
|
||||
SystemNotification().sendMessage(
|
||||
QObject::tr("URL copied to clipboard."));
|
||||
QApplication::clipboard()->setText(m_imageURL.toString());
|
||||
close();
|
||||
} else {
|
||||
onUploadOk();
|
||||
|
||||
Reference in New Issue
Block a user