mirror of
https://github.com/KDE/konsole.git
synced 2026-05-24 06:28:08 -04:00
If recursion is encountered in the profile parent hierarchy then fall back to the fallback profile instead of an empty one as the fallback profile at least has useful default settings.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=910518
This commit is contained in:
@@ -139,7 +139,7 @@ Profile::Ptr SessionManager::loadProfile(const QString& shortPath)
|
||||
if (recursionGuard.contains(path))
|
||||
{
|
||||
kWarning() << "Ignoring attempt to load profile recursively from" << path;
|
||||
return Profile::Ptr();
|
||||
return _fallbackProfile;
|
||||
}
|
||||
else
|
||||
recursionGuard.push(path);
|
||||
|
||||
Reference in New Issue
Block a user