VirtualBox

Changeset 23929 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 21, 2009 11:18:46 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53738
Message:

FE/Qt4: Fixing warning during explicit storage slot conversion (VBoxGlobal.cpp).

File:
1 edited

Legend:

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

    r23879 r23929  
    12111211    for (int i = 0; i < mSlotTemplates.size(); ++ i)
    12121212    {
    1213         regExp = QRegExp (mSlotTemplates [i].arg ("(\\d+)"));
     1213        regExp = QRegExp (i >= 0 && i <= 3 ? mSlotTemplates [i] : mSlotTemplates [i].arg ("(\\d+)"));
    12141214        if (regExp.indexIn (aSlot) != -1)
    12151215        {
Note: See TracChangeset for help on using the changeset viewer.

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