summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorJeremy Rimpo <jrim@rimpo.org>2019-08-02 00:33:02 -0500
committerGitHub <noreply@github.com>2019-08-02 00:33:02 -0500
commitbdf45aea69ab7df0b01eb87cc80a2641ea4261d0 (patch)
tree88a91f59956e8be80c159f8d765e90859eb15d13 /src/profile.cpp
parent1f1b838c2b3fd3148d2c2a1a8fe6fcf9fb07383f (diff)
parent2b213fe7ce4b75afd6f7d6418d3ccd2cf6f55070 (diff)
Merge pull request #806 from ModOrganizer2/qt-5.13
Qt 5.13
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,