VirtualBox

Changeset 35120 in vbox


Ignore:
Timestamp:
Dec 15, 2010 11:01:41 AM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: only detect "XP" if it stand alone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UINewVMWzd.cpp

    r34983 r35120  
    4848    { QRegExp("Wi.*Me", Qt::CaseInsensitive), "WindowsMe" },
    4949    { QRegExp("(Wi.*NT)|(NT4)", Qt::CaseInsensitive), "WindowsNT4" },
    50     { QRegExp("((Wi.*XP)|(XP)).*64", Qt::CaseInsensitive), "WindowsXP_64" },
    51     { QRegExp("(Wi.*XP)|(XP)", Qt::CaseInsensitive), "WindowsXP" },
     50    { QRegExp("((Wi.*XP)|(\\bXP\\b)).*64", Qt::CaseInsensitive), "WindowsXP_64" },
     51    { QRegExp("(Wi.*XP)|(\\bXP\\b)", Qt::CaseInsensitive), "WindowsXP" },
    5252    { QRegExp("((Wi.*2003)|(W2K3).*64", Qt::CaseInsensitive), "Windows2003_64" },
    5353    { QRegExp("(Wi.*2003)|(W2K3)", Qt::CaseInsensitive), "Windows2003" },
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