check if it is using:
QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)
It should return the right path on snap or not.
check if it is using:
QStandardPaths: :writableLocati on(QStandardPat hs::AppDataLoca tion)
It should return the right path on snap or not.