Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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.
qdbus $KONSOLE_DBUS_SERVICE $KONSOLE_DBUS_SESSION profile

BUG:406955
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);
session->setEnvironment(environment);
......
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