From 40de9522143e0345dc1f46e33419c0824cd76174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Thu, 12 Jan 2023 00:57:27 +0100 Subject: [PATCH] Starts program by assuming the clipboard has been modified. [GB.GTK] * BUG: Starts program by assuming the clipboard has been modified. [GB.GTK3] * BUG: Starts program by assuming the clipboard has been modified. [GB.QT4] * BUG: Starts program by assuming the clipboard has been modified. [GB.QT5] * BUG: Starts program by assuming the clipboard has been modified. --- gb.qt4/src/CClipboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.qt4/src/CClipboard.cpp b/gb.qt4/src/CClipboard.cpp index 395e84f21..dd973828d 100644 --- a/gb.qt4/src/CClipboard.cpp +++ b/gb.qt4/src/CClipboard.cpp @@ -206,7 +206,7 @@ static bool paste(const QMimeData *data, const char *fmt) ***************************************************************************/ static GB_ARRAY _clipboard_formats[2] = { NULL }; -static bool _clipboard_has_changed[2] = { FALSE }; +static bool _clipboard_has_changed[2] = { TRUE }; #define CURRENT_MODE() (_current_clipboard == CLIPBOARD_SELECTION ? QClipboard::Selection : QClipboard::Clipboard)