Skip to content

Commit e7b3679

Browse files
committed
#3371 doc: mention reason for storing clipboard content
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 27c2c0e commit e7b3679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/webappclientservice.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ void WebAppClientService::initClipboardService() {
110110

111111
// React to clipboard changes
112112
connect(clipboard, &QClipboard::dataChanged, [this]() {
113+
// We need to store the clipboard ourselves to preserve external clipboard changes
113114
keepClipboard();
114115
// sendClipboard();
115116
});

0 commit comments

Comments
 (0)