[trunk] Preference values overwritten on program initialisation
Setup: rev. 4493; Ubuntu 11.04, Qt SDK 1.1 (Qt lib 4.7.3)
Some preferences are disregarded, among them the default sound font and, possibly, some default paths. This happens because in file
*) FIRST in line 2134 function
Preferences::read() is called, which reads the preferences from the .ini file;
*) THEN in line 2220 function
MScore::init() is called which overwrites some of the read values with default values, without relying on preferences.
MScore::init() should be called before
MScore::init() should be modified to take preferences into account.
As this is a design decision, I do not provide patches.