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
Plasma
Plasma Workspace
Commits
2a4a4a07
Commit
2a4a4a07
authored
Nov 14, 2020
by
Nicolas Fella
Committed by
David Faure
Nov 26, 2020
Browse files
Fix build with newer Qt
parent
288d9a7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ksmserver/server.cpp
View file @
2a4a4a07
...
...
@@ -645,9 +645,9 @@ KSMServer::KSMServer(InitFlags flags)
display
.
remove
(
QRegularExpression
(
QStringLiteral
(
"
\\
.[0-9]+$"
)));
int
i
;
while
(
(
i
=
display
.
indexOf
(
QLatin1Char
(
':'
)))
>=
0
)
display
[
i
]
=
'_'
;
display
[
i
]
=
QLatin1Char
(
'_'
)
;
while
(
(
i
=
display
.
indexOf
(
QLatin1Char
(
'/'
)))
>=
0
)
display
[
i
]
=
'_'
;
display
[
i
]
=
QLatin1Char
(
'_'
)
;
fName
+=
'_'
+
display
.
toLocal8Bit
();
FILE
*
f
;
...
...
@@ -729,9 +729,9 @@ void KSMServer::cleanUp()
display
.
remove
(
QRegularExpression
(
QStringLiteral
(
"
\\
.[0-9]+$"
)));
int
i
;
while
(
(
i
=
display
.
indexOf
(
QLatin1Char
(
':'
)))
>=
0
)
display
[
i
]
=
'_'
;
display
[
i
]
=
QLatin1Char
(
'_'
)
;
while
(
(
i
=
display
.
indexOf
(
QLatin1Char
(
'/'
)))
>=
0
)
display
[
i
]
=
'_'
;
display
[
i
]
=
QLatin1Char
(
'_'
)
;
fName
+=
'_'
+
display
.
toLocal8Bit
();
::
unlink
(
fName
.
data
());
...
...
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