mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 07:55:07 -04:00
Fix write locations for konsole's files
QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation apparently doesn't include an / at the end.
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user