View Single Post
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#82
Originally Posted by gionni88 View Post
You can also use QSettings method "bool contains(QString &key)" to check if the user has that value in transitions.ini. So if the user doesn't you disable that particular option. In this way if the user has an active theme which doen't have cssu settings (and he may have CSSU installed) your program doesn't crash: you can even add the cssu options to "fix" that theme transitions.ini, adding the values in the right group.
Thanks for the recommendations.

In the last version (1.2-1) added a check for both. If the CSSU is not installed or the settings are not there it will exit with a popup message on the reason.

I think I should not add options in the transitions.ini because finding what is the cause of a problem later with a theme or similar will be too complex for most users and especially people trying to help them.

In my opinion, people using themes should stick with the Theme Customiser and the Tuner. There is no need to have also my app.
 

The Following User Says Thank You to Saturn For This Useful Post: