diff options
| author | Silarn <jrim@rimpo.org> | 2019-07-03 13:04:27 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2019-07-03 13:04:27 -0500 |
| commit | aa9a1fc07fb612547c1d1c5074d669b2dd258af9 (patch) | |
| tree | 3f381e3120349a97f3731d0a1620e78ae1583b5a /src/profile.cpp | |
| parent | efec72a85a351f53880bffdba2438f6802d4f9ab (diff) | |
Refactor obsolete methods
Diffstat (limited to 'src/profile.cpp')
| -rw-r--r-- | src/profile.cpp | 2 |
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 §ion, const QString &name, |
