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
Plasma
KWin
Commits
cb7a3ec8
Commit
cb7a3ec8
authored
Nov 07, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
Remove unnecessary comparisons
parent
77469151
Changes
1
Hide whitespace changes
Inline
Side-by-side
logind.cpp
View file @
cb7a3ec8
...
...
@@ -429,12 +429,8 @@ void LogindIntegration::getSeat()
DBusLogindSeat
seat
=
qdbus_cast
<
DBusLogindSeat
>
(
reply
.
value
().
value
<
QDBusArgument
>
());
const
QString
seatPath
=
seat
.
path
.
path
();
qCDebug
(
KWIN_CORE
)
<<
m_sessionControllerName
<<
" seat:"
<<
seat
.
name
<<
"/"
<<
seatPath
;
if
(
m_seatPath
!=
seatPath
)
{
m_seatPath
=
seatPath
;
}
if
(
m_seatName
!=
seat
.
name
)
{
m_seatName
=
seat
.
name
;
}
m_seatPath
=
seatPath
;
m_seatName
=
seat
.
name
;
}
);
}
...
...
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