diff --git a/src/clipboard.cpp b/src/clipboard.cpp index 6fa2242..6251675 100644 --- a/src/clipboard.cpp +++ b/src/clipboard.cpp @@ -67,5 +67,7 @@ void Clipboard::copyToClipboard(QColor color, QString colorType) clipboard->setText(colorString); // Quit application. - QApplication::quit(); + QTimer::singleShot(100, this,[=](){ + QApplication::quit(); + }); }