From 0401bf08eadf27e6e4651fba45e308228ff92de9 Mon Sep 17 00:00:00 2001 From: Jeremy Borgman Date: Wed, 3 Mar 2021 19:27:26 -0600 Subject: [PATCH] Fixed issue with copying url. This issue always occurs in places clipboard actions happen ahead of notifications --- src/tools/imgur/imguruploader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/imgur/imguruploader.cpp b/src/tools/imgur/imguruploader.cpp index 1ecb1dfb..83175b66 100644 --- a/src/tools/imgur/imguruploader.cpp +++ b/src/tools/imgur/imguruploader.cpp @@ -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();