summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index ef387027..4ac15333 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -899,7 +899,7 @@ void Profile::rename(const QString &newName)
{
QDir profileDir(Settings::instance().getProfileDirectory());
profileDir.rename(name(), newName);
- m_Directory = profileDir.absoluteFilePath(newName);
+ m_Directory.setPath(profileDir.absoluteFilePath(newName));
}
QVariant Profile::setting(const QString &section, const QString &name,