Changeset 639:adfe29945e89 in qutecom-2.2


Ignore:
Timestamp:
Jul 21, 2010 12:07:28 PM (3 years ago)
Author:
laurent@…
Branch:
default
Children:
640:8a0d7eeb2040, 642:4a22a864b5e4
Message:

fix import config and bump config version

Location:
wengophone
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wengophone/resources/config/config.xml

    r593 r639  
    4040 - chat.theme.variant 
    4141--> 
    42 <config.version><int>14</int></config.version> 
     42<config.version><int>15</int></config.version> 
    4343 
    4444<audio.aec><bool>1</bool></audio.aec> 
  • wengophone/src/model/config/ConfigImporter.cpp

    r522 r639  
    149149static const int CONFIG_VERSION8 = 8; 
    150150static const int CONFIG_VERSION9 = 9; 
     151static const int CONFIG_VERSION10 = 10; 
     152static const int CONFIG_VERSION11 = 11; 
     153static const int CONFIG_VERSION12 = 12; 
     154static const int CONFIG_VERSION13 = 13; 
     155static const int CONFIG_VERSION14 = 14; 
     156static const int CONFIG_VERSION15 = 15; 
    151157 
    152158static const std::string USERPROFILE_FILENAME = "userprofile.xml"; 
     
    205211                        // Nothing to do, just bump the version number 
    206212                        localVersion = CONFIG_VERSION9; 
     213                } 
     214                 
     215                if (localVersion == CONFIG_VERSION9) { 
     216                        // Nothing to do, just bump the version number 
     217                        localVersion = CONFIG_VERSION10; 
     218                } 
     219                 
     220                if (localVersion == CONFIG_VERSION10) { 
     221                        // Nothing to do, just bump the version number 
     222                        localVersion = CONFIG_VERSION11; 
     223                } 
     224                 
     225                if (localVersion == CONFIG_VERSION11) { 
     226                        // Nothing to do, just bump the version number 
     227                        localVersion = CONFIG_VERSION12; 
     228                } 
     229                 
     230                if (localVersion == CONFIG_VERSION12) { 
     231                        // Nothing to do, just bump the version number 
     232                        localVersion = CONFIG_VERSION13; 
     233                } 
     234                 
     235                if (localVersion == CONFIG_VERSION13) { 
     236                        // Nothing to do, just bump the version number 
     237                        localVersion = CONFIG_VERSION14; 
     238                } 
     239                 
     240                if (localVersion == CONFIG_VERSION14) { 
     241                        // Nothing to do, just bump the version number 
     242                        localVersion = CONFIG_VERSION15; 
    207243                } 
    208244 
Note: See TracChangeset for help on using the changeset viewer.