Commit a10e6902 authored by Joris Guisson's avatar Joris Guisson
Browse files

Fix crash when shutdown_rules files becomes corrupted

BUG: 277602
parent a8a2a744
......@@ -21,6 +21,7 @@ Changes in 4.1.2:
- Fix bug causing quit action not be shown in system tray when not using KDE
- Fix edit script not working in scripting plugin
- Make log output suspension work again
- Fix crash when shutdown_rules files becomes corrupted (277602)
Changes in 4.1.1:
- Make sure that libktorrent translation catalog is inserted (269515)
......
......@@ -199,6 +199,9 @@ namespace kt
break;
BDictNode* const d = l->getDict(i);
if (!d)
continue;
ShutdownRule rule;
rule.action = (Action)d->getInt("Action");
rule.target = (Target)d->getInt("Target");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment