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
f012610b
Commit
f012610b
authored
May 27, 2021
by
Piyush Aggarwal
🎮
Browse files
indicatorhelper: fix incompatibility warning for PROCESSENTRY object
parent
e8563388
Pipeline
#63237
passed with stage
in 4 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
indicator/indicatorhelper_win.cpp
View file @
f012610b
...
...
@@ -67,7 +67,7 @@ bool IndicatorHelper::terminateProcess(const QString &processName, const QUrl &i
do
{
if
(
QString
::
fromWCharArray
(
pe32
.
szExeFile
)
==
processName
)
{
if
(
QString
::
fromWCharArray
(
(
wchar_t
*
)
pe32
.
szExeFile
)
==
processName
)
{
hProcess
=
OpenProcess
(
PROCESS_ALL_ACCESS
,
FALSE
,
pe32
.
th32ProcessID
);
if
(
hProcess
==
NULL
)
{
...
...
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