Fix write locations for konsole's files

QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation
apparently doesn't include an / at the end.
This commit is contained in:
Kurt Hindenburg
2014-10-28 08:53:44 -04:00
parent b51dca8218
commit 44457f8e37
3 changed files with 3 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ const KeyboardTranslator* KeyboardTranslatorManager::findTranslator(const QStrin
bool KeyboardTranslatorManager::saveTranslator(const KeyboardTranslator* translator)
{
const QString dir = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("konsole/");
const QString dir = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/konsole/");
QDir().mkpath(dir);
const QString path = dir + translator->name() + QStringLiteral(".keytab");