Commit 9e3a30fd authored by Kurt Hindenburg's avatar Kurt Hindenburg

Remove env variable KONSOLE_PROFILE_NAME

env variables can not be changed after process creation so this
causes this variable to be wrong after profile switching.  Use the
dbus method profile to determine name.

parent 05f5663a
......@@ -213,7 +213,6 @@ void SessionManager::applyProfile(Session *session, const Profile::Ptr &profile,
QStringList environment = profile->environment();
environment << QStringLiteral("PROFILEHOME=%1").arg(profile->defaultWorkingDirectory());
environment << QStringLiteral("KONSOLE_PROFILE_NAME=%1").arg(profile->name());
environment << QStringLiteral("KONSOLE_VERSION=%1").arg(numericVersion);
Markdown is supported
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