QStandardPaths::writableLocation() does not create a directory if it does not exist. Therefore, on a fresh install, kmix is trying to save channel profiles to a non-existing directory and failing miserably. This patch fixes the issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- R345 KMix
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Not sure whether using a global static QString is the right approach - should it use Q_GLOBAL_STATIC?
On the other hand this is not library code and there is global non-POD data throughout KMix, so one more bit won't hurt.