summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-07-03 13:04:27 -0500
committerSilarn <jrim@rimpo.org>2019-07-03 13:04:27 -0500
commitaa9a1fc07fb612547c1d1c5074d669b2dd258af9 (patch)
tree3f381e3120349a97f3731d0a1620e78ae1583b5a /src/profile.cpp
parentefec72a85a351f53880bffdba2438f6802d4f9ab (diff)
Refactor obsolete methods
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,