QTfrontend/model/MapModel.cpp
changeset 8393 85bd6c7b2641
parent 8386 2aaa2995a32e
child 8419 d99f46b676b5
equal deleted inserted replaced
8391:9f2527848ffd 8393:85bd6c7b2641
    88             if (isMission)
    88             if (isMission)
    89             {
    89             {
    90                 QString locale = HWApplication::keyboardInputLocale().name();
    90                 QString locale = HWApplication::keyboardInputLocale().name();
    91 
    91 
    92                 QSettings descSettings(QString("physfs://Maps/%1/desc.txt").arg(map), QSettings::IniFormat);
    92                 QSettings descSettings(QString("physfs://Maps/%1/desc.txt").arg(map), QSettings::IniFormat);
    93                 desc = descSettings.value(locale, QString()).toString().replace("|", "\n");
    93                 desc = descSettings.value(locale, QString()).toString().replace("|", "\n").replace("\\,", ",");
    94             }
    94             }
    95 
    95 
    96             // let's use some semi-sane hedgehog limit, rather than none
    96             // let's use some semi-sane hedgehog limit, rather than none
    97             if (limit == 0)
    97             if (limit == 0)
    98                 limit = 18;
    98                 limit = 18;