Bug 354183 - Sonnet uses the wrong path for configuration files...
Summary: Sonnet uses the wrong path for configuration files...
Status: RESOLVED INTENTIONAL
Alias: None
Product: frameworks-sonnet
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-21 18:10 UTC by piedro
Modified: 2017-09-17 21:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description piedro 2015-10-21 18:10:47 UTC
The configuration file "sonnet.conf" should be under ~/.config/sonnet.conf, shouldn't it... 

ATM this file is located at ~/.config/KDE/sonnet.conf. This seems inconsistent as it is the only file in this folder. 

 

Reproducible: Always
Comment 1 piedro 2015-10-21 18:11:49 UTC
Edit: Please add a question mark to the first line of the previous post. I cannot find any edit button, so ....
Comment 2 piedro 2017-08-23 18:25:31 UTC
Is this too challenging a task to just simply fix one entry in the configuration file for developers to care? 

Sonnet is the only application to use this path. 

But I guess it's allright, it's only two years old for a 20 second change...
Keep up the good work!

Cheers, p.
Comment 3 Christoph Feck 2017-09-17 14:50:14 UTC
Sonnet uses QSettings instead of KConfig, to be able to work in pure Qt applications. The QSettings class mandates an 'organization' name. You can see it with many other Qt applications, such as Trojita, Minitube, etc. Some applications simply use the applications name as the organization name, e.g. sqlitebrowser, smplayer etc.
Comment 4 piedro 2017-09-17 21:40:32 UTC
By this logic it wouldn't it be correct to have the location:  

~/.config/Sonnet/sonnet.conf 

?