Remove unnecessary comparisons
This commit is contained in:
parent
77469151c5
commit
cb7a3ec832
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue