VirtualBox

Changeset 51197 in vbox for trunk


Ignore:
Timestamp:
May 6, 2014 3:31:05 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: 6660: Advanced extra-data management framework: Take into account that old extra-data string-lists can be separated by semicolon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp

    r51196 r51197  
    652652        return QStringList();
    653653
    654     /* Returns corresponding value: */
    655     return data[strKey].split(',', QString::SkipEmptyParts);
     654    /* Few old extra-data string-lists were separated with 'semicolon' symbol.
     655     * All new separated by 'comma'. We have to take that into account. */
     656    return data[strKey].split(QRegExp("[;,]"), QString::SkipEmptyParts);
    656657}
    657658
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette