Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KRDC
Commits
86102676
Commit
86102676
authored
Sep 12, 2021
by
Luke Dashjr
Committed by
Albert Astals Cid
Sep 19, 2021
Browse files
Bugfix: VNC: Restore m_dontSendClipboard to prior state after setting remote contents locally
parent
8111867c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vnc/vncview.cpp
View file @
86102676
...
...
@@ -534,9 +534,10 @@ void VncView::enableScaling(bool scale)
void
VncView
::
setCut
(
const
QString
&
text
)
{
const
bool
saved_dontSendClipboard
=
m_dontSendClipboard
;
m_dontSendClipboard
=
true
;
m_clipboard
->
setText
(
text
,
QClipboard
::
Clipboard
);
m_dontSendClipboard
=
false
;
m_dontSendClipboard
=
saved_dontSendClipboard
;
}
void
VncView
::
paintEvent
(
QPaintEvent
*
event
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment