mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
remove commented code
This commit is contained in:
parent
d1acd75068
commit
289e98ed5b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user