Make sure we return the file and not the symlink to frameworks/current
commita8668050d1ef29f75c4e068c48505a786beb8993
authorMarius Gripsgard <marius@ubports.com>
dateWed 8 Aug 2018, 00:48 (8 years ago)
parent8fdf96c
plugins/Wizard/System.cpp+2−1
@@ -48,7 +48,8 @@ QString System::wizardEnabledPath()
4848
4949QString System::currentFrameworkPath()
5050{
51− return QDir::home().filePath(QStringLiteral("/usr/share/click/frameworks/current"));
51+ QFileInfo f("/usr/share/click/frameworks/current");
52+ return f.canonicalFilePath();
5253}
5354
5455/*