Skip to content
GitLab
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
13ef4e7d
Commit
13ef4e7d
authored
Feb 01, 2022
by
Laurent Montel
Browse files
Fix some compile error when we build qtonly
parent
ebc00cbb
Pipeline
#131569
passed with stage
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
vnc/vncview.cpp
View file @
13ef4e7d
...
...
@@ -359,7 +359,7 @@ void VncView::requestPassword(bool includingUsername)
void
VncView
::
sshRequestPassword
(
VncSshTunnelThread
::
PasswordRequestFlags
flags
)
{
qCDebug
(
KRDC
)
<<
"request ssh password"
;
#ifndef QTONLY
if
(
m_hostPreferences
->
walletSupport
()
&&
((
flags
&
VncSshTunnelThread
::
IgnoreWallet
)
!=
VncSshTunnelThread
::
IgnoreWallet
))
{
const
QString
walletPassword
=
readWalletSshPassword
();
...
...
@@ -368,7 +368,7 @@ void VncView::sshRequestPassword(VncSshTunnelThread::PasswordRequestFlags flags)
return
;
}
}
#endif
KPasswordDialog
dialog
(
this
);
dialog
.
setPrompt
(
i18n
(
"Please enter the SSH password."
));
if
(
dialog
.
exec
()
==
KPasswordDialog
::
Accepted
)
{
...
...
@@ -711,7 +711,7 @@ void VncView::clipboardDataChanged()
if
(
m_clipboard
->
ownsClipboard
()
||
m_dontSendClipboard
)
return
;
#ifndef QTONLY
if
(
m_hostPreferences
->
dontCopyPasswords
())
{
const
QMimeData
*
data
=
m_clipboard
->
mimeData
();
if
(
data
&&
data
->
hasFormat
(
QLatin1String
(
"x-kde-passwordManagerHint"
)))
{
...
...
@@ -719,7 +719,7 @@ void VncView::clipboardDataChanged()
return
;
}
}
#endif
const
QString
text
=
m_clipboard
->
text
(
QClipboard
::
Clipboard
);
vncThread
.
clientCut
(
text
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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