Fix fallback from invalid L&F packages
The mechanism should have deleted the old key from the config if it was invalid and then try again in order to get the default. As we were deleting the wrong key (actually the value of the shell package key), this was turning into a recursive loop. Deleting the correct key obviously fixes this. Thanks Bille for reporting! Reviewed-by: Marco Martin BUG:343510
This commit is contained in:
parent
2d7dfd2147
commit
b931c00031
@ -87,7 +87,7 @@ void PlatformStatus::findLookAndFeelPackage(bool sendSignal)
|
||||
QStandardPaths::LocateDirectory);
|
||||
if (path.isEmpty()) {
|
||||
if (package != defaultPackage) {
|
||||
group.deleteEntry(m_shellPackage);
|
||||
group.deleteEntry("LookAndFeel");
|
||||
findLookAndFeelPackage(sendSignal);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user