From ef510b4e76933a0cd04a40e62dc785362ea730f0 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Fri, 18 Jan 2019 08:59:54 +0530 Subject: [PATCH] remove superfluous code Summary: For some reason this lines are duplicated twice, (possibly due to merge conflict resolution?), clean it up. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D18348 --- logind.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/logind.cpp b/logind.cpp index 53d5666ddc..0b26f2d7be 100644 --- a/logind.cpp +++ b/logind.cpp @@ -420,7 +420,6 @@ void LogindIntegration::getSeat() s_dbusPropertiesInterface, QStringLiteral("Get")); message.setArguments(QVariantList({m_sessionControllerSessionInterface, QStringLiteral("Seat")})); - message.setArguments(QVariantList({m_sessionControllerSessionInterface, QStringLiteral("Seat")})); QDBusPendingReply reply = m_bus.asyncCall(message); QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(reply, this); connect(watcher, &QDBusPendingCallWatcher::finished, this, @@ -434,7 +433,6 @@ void LogindIntegration::getSeat() DBusLogindSeat seat = qdbus_cast(reply.value().value()); const QString seatPath = seat.path.path(); qCDebug(KWIN_CORE) << m_sessionControllerName << " seat:" << seat.name << "/" << seatPath; - qCDebug(KWIN_CORE) << m_sessionControllerName << " seat:" << seat.name << "/" << seatPath; if (m_seatPath != seatPath) { m_seatPath = seatPath; }