remove commented code

This commit is contained in:
Claudio Bantaloukas 2017-01-01 14:11:31 +01:00 committed by thez3ro
parent d1acd75068
commit 289e98ed5b
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -32,18 +32,6 @@ ScreenLockListenerDBus::ScreenLockListenerDBus(QWidget *parent):
"Locked", // signal name
this, //receiver
SLOT(unityLocked()));
/* Currently unable to get the current user session from login1.Manager
QDBusInterface login1_manager_iface("org.freedesktop.login1", "/org/freedesktop/login1",
"org.freedesktop.login1.Manager", systemBus);
if(login1_manager_iface.isValid()){
qint64 my_pid = QCoreApplication::applicationPid();
QDBusReply<QString> reply = login1_manager_iface.call("GetSessionByPID",static_cast<quint32>(my_pid));
if (reply.isValid()){
QString current_session = reply.value();
}
}
*/
}
void ScreenLockListenerDBus::gnomeSessionStatusChanged(uint status)