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
KDE Connect
Commits
67a92451
Commit
67a92451
authored
Mar 31, 2021
by
Natsumi Higa
Committed by
Aleix Pol Gonzalez
Apr 13, 2021
Browse files
Fix IPv6 address format
parent
80178b8f
Pipeline
#57912
passed with stage
in 4 minutes and 15 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
plugins/sftp/mounter.cpp
View file @
67a92451
...
...
@@ -111,6 +111,10 @@ void Mounter::onPackageReceived(const NetworkPacket& np)
return
;
}
QString
ip
=
addr
.
toString
();
if
(
addr
.
protocol
()
==
QAbstractSocket
::
IPv6Protocol
)
{
ip
.
prepend
(
QLatin1Char
(
'['
));
ip
.
append
(
QLatin1Char
(
']'
));
}
const
QStringList
arguments
=
QStringList
()
<<
QStringLiteral
(
"%1@%2:%3"
).
arg
(
...
...
Write
Preview
Markdown
is supported
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