mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-18 05:14:16 -05:00
remove commented code
This commit is contained in:
parent
d1acd75068
commit
289e98ed5b
@ -32,18 +32,6 @@ ScreenLockListenerDBus::ScreenLockListenerDBus(QWidget *parent):
|
|||||||
"Locked", // signal name
|
"Locked", // signal name
|
||||||
this, //receiver
|
this, //receiver
|
||||||
SLOT(unityLocked()));
|
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)
|
void ScreenLockListenerDBus::gnomeSessionStatusChanged(uint status)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user