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
Utilities
Konsole
Commits
6469bcc4
Commit
6469bcc4
authored
Aug 22, 2020
by
Rafael Sadowski
Browse files
fix compile: calling a private constructor of class 'QString'
Fix build with Qt 5.13 and LLVM10.
parent
fc35d834
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ProcessInfo.cpp
View file @
6469bcc4
...
...
@@ -703,12 +703,12 @@ private:
return
false
;
}
setName
(
kInfoProc
->
p_comm
);
setName
(
QString
::
fromUtf8
(
kInfoProc
->
p_comm
)
)
;
setPid
(
kInfoProc
->
p_pid
);
setParentPid
(
kInfoProc
->
p_ppid
);
setForegroundPid
(
kInfoProc
->
p_tpgid
);
setUserId
(
kInfoProc
->
p_uid
);
setUserName
(
kInfoProc
->
p_login
);
setUserName
(
QString
::
fromUtf8
(
kInfoProc
->
p_login
)
)
;
free
(
kInfoProc
);
return
true
;
...
...
@@ -757,7 +757,7 @@ private:
}
for
(
char
**
p
=
argv
;
*
p
!=
NULL
;
p
++
)
{
addArgument
(
QString
(
*
p
));
addArgument
(
QString
::
fromUtf8
(
*
p
));
}
free
(
argv
);
return
true
;
...
...
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