Commit b9261c58 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Write profile changes to Konsole's location, not KPart's app

Thanks to Wolfgang Bauer (wbauer tmo at) for patch

BUG: 364336
parent 16487ec4
......@@ -32,6 +32,8 @@
// Konsole
#include "ShellCommand.h"
#include <QDebug>
using namespace Konsole;
// FIXME: A dup line from Profile.cpp - redo these
......@@ -40,11 +42,9 @@ static const char GENERAL_GROUP[] = "General";
// All profiles changes are stored under users' local account
QString KDE4ProfileWriter::getPath(const Profile::Ptr profile)
// If any changes are made to this location, check that programs using
// the Konsole part can write/save profiles
static const QString localDataLocation = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/konsole");
static const QString localDataLocation = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
return localDataLocation % "/" % profile->untranslatedName() % ".profile";
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