Changeset 47121 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 12, 2013 1:48:24 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.cpp
r47103 r47121 117 117 message(pParent, strPopupPaneID, 118 118 strMessage, strDetails, 119 AlertButton_ Ok| AlertButtonOption_Default | AlertButtonOption_Escape /* 1st button */,119 AlertButton_Cancel | AlertButtonOption_Default | AlertButtonOption_Escape /* 1st button */, 120 120 0 /* 2nd button */, 121 Q String() /* 1st button text */,121 QApplication::translate("UIMessageCenter", "Close") /* 1st button text */, 122 122 QString() /* 2nd button text */, 123 123 fProposeAutoConfirmation); … … 165 165 const QString &strMessage, const QString &strDetails, 166 166 int iButton1, int iButton2, 167 const QString &strButtonText1, const QString &strButtonText2,167 QString strButtonText1, QString strButtonText2, 168 168 bool fProposeAutoConfirmation) 169 169 { 170 170 /* Make sure at least one button is valid: */ 171 171 if (iButton1 == 0 && iButton2 == 0) 172 iButton1 = AlertButton_Ok | AlertButtonOption_Default | AlertButtonOption_Escape; 172 { 173 iButton1 = AlertButton_Cancel | AlertButtonOption_Default | AlertButtonOption_Escape; 174 strButtonText1 = QApplication::translate("UIMessageCenter", "Close"); 175 } 173 176 174 177 /* Check if popup-pane was auto-confirmed before: */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.h
r47103 r47121 128 128 const QString &strMessage, const QString &strDetails, 129 129 int iButton1, int iButton2, 130 const QString &strButtonText1, const QString &strButtonText2,130 QString strButtonText1, QString strButtonText2, 131 131 bool fProposeAutoConfirmation); 132 132 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPaneButtonPane.cpp
r47107 r47121 188 188 switch (iButtonID & AlertButtonMask) 189 189 { 190 case AlertButton_Ok: icon = UIIconPool::iconSet(":/ delete_16px.png"); break;190 case AlertButton_Ok: icon = UIIconPool::iconSet(":/ok_16px.png"); break; 191 191 case AlertButton_Cancel: icon = UIIconPool::iconSet(":/cancel_16px.png"); break; 192 192 case AlertButton_Choice1: break;
Note:
See TracChangeset
for help on using the changeset viewer.