Fix portable mode

Try to fix portable mode bug. Closes #11706, #11178, #7765.
This commit is contained in:
Tester798
2019-12-29 22:01:02 +02:00
parent 316f34cbf5
commit 58711cbe7e
4 changed files with 35 additions and 15 deletions

View File

@@ -71,13 +71,13 @@ public:
QString fromPortablePath(const QString &portablePath) const;
private:
Profile(Private::Profile *impl, Private::PathConverter *pathConverter);
Profile(const QString &rootProfilePath, const QString &configurationName, bool convertPathsToProfileRelative);
~Profile() = default; // to generate correct call to ProfilePrivate::~ProfileImpl()
void ensureDirectoryExists(SpecialFolder folder) const;
const std::unique_ptr<Private::Profile> m_profileImpl;
const std::unique_ptr<Private::PathConverter> m_pathConverterImpl;
std::unique_ptr<Private::Profile> m_profileImpl;
std::unique_ptr<Private::PathConverter> m_pathConverterImpl;
static Profile *m_instance;
};