author | waspe <waspe> | 2003-12-16 15:08:22 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-12-16 15:08:22 (UTC) |
commit | 248572b8b51e47921a429ed8047945ca4c8bd4aa (patch) (side-by-side diff) | |
tree | 3882b3f31be3f541878706ec9df3e2d2d1902b52 | |
parent | bc156981d7ca6987e1353a68caa61620f928b65d (diff) | |
download | opie-248572b8b51e47921a429ed8047945ca4c8bd4aa.zip opie-248572b8b51e47921a429ed8047945ca4c8bd4aa.tar.gz opie-248572b8b51e47921a429ed8047945ca4c8bd4aa.tar.bz2 |
changed default values to something usefull again
-rw-r--r-- | noncore/multimedia/tonleiter/tonleiterdata.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/multimedia/tonleiter/tonleiterdata.cpp b/noncore/multimedia/tonleiter/tonleiterdata.cpp index bf7b32c..33b3c49 100644 --- a/noncore/multimedia/tonleiter/tonleiterdata.cpp +++ b/noncore/multimedia/tonleiter/tonleiterdata.cpp @@ -45,38 +45,38 @@ void TonleiterData::setCurrentNote(int id) } //**************************************************************************** void TonleiterData::setDrawNames(bool dn) { drawnames=dn; emit dataChange(); } //**************************************************************************** void TonleiterData::loadData() { Config load("Tonleiter"); if(!load.isValid()) { //write some default values load.setGroup("General"); load.writeEntry("currentInstrumentID",1); - load.writeEntry("currentNote",0); - load.writeEntry("currentScaleID",1); + load.writeEntry("currentNote",3); + load.writeEntry("currentScaleID",0); load.writeEntry("drawnames",1); load.setGroup("Instrument"); - load.writeEntry("Inst0","Thumb6;26;11;16;21;26;31;36;"); - load.writeEntry("Inst1","Bass 4;12;16;21;26;31;"); + load.writeEntry("Inst0","Thumb6;26;14;19;24;29;34;39;"); + load.writeEntry("Inst1","Bass 4;12;19;24;29;34;"); load.writeEntry("noOfInstruments",2); load.setGroup("Scale"); load.writeEntry("Scale0","ionian;0;2;4;5;7;9;11;"); load.writeEntry("Scale1","aeolian;0;2;3;5;7;8;10;"); load.writeEntry("Scale2","dorian;0;2;3;5;7;9;10;"); load.writeEntry("Scale3","phrygian;0;1;3;5;7;8;10;"); load.writeEntry("Scale4","lydian;0;2;4;6;7;9;11;"); load.writeEntry("Scale5","mixolydian;0;2;4;5;7;9;10;"); load.writeEntry("noOfScales",6); } load.setGroup("General"); currentNote=load.readNumEntry("currentNote"); drawnames=load.readBoolEntry("drawnames"); currentInstrumentID=load.readNumEntry("currentInstrumentID"); |