mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
libs: fallback to ConsoleKit in KDisplayManager::isSwitchable()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
03e29652d7
commit
8695460bb5
1 changed files with 3 additions and 1 deletions
|
@ -599,7 +599,9 @@ KDisplayManager::isSwitchable()
|
|||
systemdversion = systemdversion.left(dotindex);
|
||||
}
|
||||
// always allowed since 246 and the CanMultiSession property is hidden
|
||||
return (systemdversion.toLongLong() >= 246);
|
||||
if (systemdversion.toLongLong() >= 246) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
CKSeat CKseat(currentSeat);
|
||||
if (CKseat.isValid()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue