This method calls doesn't seem to work anymore having been replaced by
the more intuitve virtual paths on the logind over a year ago.
Arguably that's still a bug upstream that GetSessionByPID no longer
works correctly, but we may as well port to the simpler path that avoids
so many layers of indirection.
Use of "/auto" does not exist on old distros so the legacy path is kept.
The paths used in this class were always wrong, which went unnoticed as
this is the first usage of them.
BUG: 423526
(cherry picked from commit bb7b1226e6)
wilder-portage-prov
parent
92e2b2ee3a
commit
3acf8f3024
2 changed files with 36 additions and 13 deletions
@ -0,0 +1,15 @@ |
||||
import QtQuick 2.15 |
||||
import org.kde.plasma.private.sessions 2.0 |
||||
|
||||
ListView |
||||
{ |
||||
width: 500 |
||||
height: 500 |
||||
|
||||
model: SessionsModel{} |
||||
|
||||
delegate: Text { |
||||
text: model.name + " " + model.session + " " + model.displayNumber + " VT" +model.vtNumber |
||||
} |
||||
|
||||
} |
||||
Loading…
Reference in new issue