From aa9a1fc07fb612547c1d1c5074d669b2dd258af9 Mon Sep 17 00:00:00 2001 From: Silarn Date: Wed, 3 Jul 2019 13:04:27 -0500 Subject: Refactor obsolete methods --- src/profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/profile.cpp') 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, -- cgit v1.3.1