>> Stepping through system_default_directory when subsurface starts. >> filename is NULL, which triggers if statement. >> QString name = QStandardPaths::standardLocations(location).first(); >> generates filename = “/Library/Application Support/Subsurface/Subsurface”. >> >> Using DataLocation instead of AppDataLocation gives the correct path. >> QT version is 5.4.0
With Qt 5.4.1 AppDataLocation gives the correct path. > > So the problem is that going with the "new and improved" API in 5.4 actually > gives us the wrong answer? Great. > Let's remove that new and improved API and use QStandardPaths::dataLocation() > for all versions instead. I assume that would fix things for both of you? > > Anyone want to send me a patch (I'm neck deep in fixing the creation of > a valid remote branch so that Subsurface cloud storage becomes useful) > > /D /Jocke _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
