removal reduntant config option and settings, unused lines in Lock.qml
This commit is contained in:
@@ -253,7 +253,6 @@ Singleton {
|
||||
return {
|
||||
recolorLogo: lock.recolorLogo,
|
||||
enableFprint: lock.enableFprint,
|
||||
lidWatch: lock.lidWatch,
|
||||
showNotifContent: lock.showNotifContent,
|
||||
showNotifIcon: lock.showNotifIcon,
|
||||
maxFprintTries: lock.maxFprintTries,
|
||||
|
||||
@@ -4,7 +4,6 @@ JsonObject {
|
||||
property int blurAmount: 40
|
||||
property bool enableFprint: true
|
||||
property int maxFprintTries: 3
|
||||
property bool lidWatch: false
|
||||
property bool recolorLogo: false
|
||||
property bool showNotifContent: false
|
||||
property bool showNotifIcon: true
|
||||
|
||||
@@ -18,9 +18,6 @@ Scope {
|
||||
signal requestLock
|
||||
signal unlock
|
||||
|
||||
onRequestLock: lock.locked = true
|
||||
onUnlock: lock.locked = false
|
||||
|
||||
LockSurface {
|
||||
id: lockSurface
|
||||
|
||||
|
||||
@@ -60,17 +60,6 @@ SettingsPage {
|
||||
Separator {
|
||||
}
|
||||
|
||||
SettingSwitch {
|
||||
name: "Laptop lid watch to lock session"
|
||||
object: Config.lock
|
||||
setting: "lidWatch"
|
||||
shouldBeActive: Battery.isLaptop
|
||||
}
|
||||
|
||||
Separator {
|
||||
shouldBeActive: Battery.isLaptop
|
||||
}
|
||||
|
||||
SettingSpinBox {
|
||||
min: 0
|
||||
name: "Blur amount"
|
||||
|
||||
@@ -326,13 +326,6 @@ export const settingsIndex = [
|
||||
section: "Lockscreen",
|
||||
keywords: ["notification", "hide", "icon"],
|
||||
},
|
||||
{
|
||||
name: "Laptop lid watch to lock session",
|
||||
category: "lockscreen",
|
||||
categoryName: "Lockscreen",
|
||||
section: "Lockscreen",
|
||||
keywords: ["lid", "lock", "watch", "session", "laptop"],
|
||||
},
|
||||
{
|
||||
name: "Blur amount",
|
||||
category: "lockscreen",
|
||||
|
||||
Reference in New Issue
Block a user