VirtualBox

Changeset 57692 in vbox


Ignore:
Timestamp:
Sep 10, 2015 1:40:54 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102597
Message:

FE/Qt: 8010: GUI MessageBox: Small update for the 102504: Since the Default value is really took into account now we should make Ok as the default for binary question messages.

File:
1 edited

Legend:

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

    r57628 r57692  
    183183{
    184184    return (message(pParent, type, strMessage, strDetails, pcszAutoConfirmId,
    185                     AlertButton_Ok,
    186                     AlertButton_Cancel | AlertButtonOption_Default | AlertButtonOption_Escape,
     185                    AlertButton_Ok | AlertButtonOption_Default,
     186                    AlertButton_Cancel | AlertButtonOption_Escape,
    187187                    0 /* third button */,
    188188                    strOkButtonText,
     
    220220{
    221221    return (question(pParent, type, strMessage, pcszAutoConfirmId,
    222                      AlertButton_Ok,
    223                      AlertButton_Cancel | AlertButtonOption_Default | AlertButtonOption_Escape,
     222                     AlertButton_Ok | AlertButtonOption_Default,
     223                     AlertButton_Cancel | AlertButtonOption_Escape,
    224224                     0 /* third button */,
    225225                     strOkButtonText,
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