Changeset 5792 in vbox
- Timestamp:
- Nov 19, 2007 12:29:44 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui
r5657 r5792 3167 3167 <variable access="private">BootItemsList *tblBootOrder;</variable> 3168 3168 <variable access="private">QString mNoInterfaces;</variable> 3169 <variable access="private">bool mAllowResetFRF;</variable> 3169 3170 <variable access="private">bool mResetFirstRunFlag;</variable> 3170 3171 </variables> … … 3207 3208 <slot>hostInterfaceAdd()</slot> 3208 3209 <slot>hostInterfaceRemove()</slot> 3210 <slot>onMediaEnumDone()</slot> 3209 3211 <slot>resetFirstRunFlag()</slot> 3210 3212 </slots> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
r5657 r5792 474 474 polished = false; 475 475 476 mAllowResetFRF = false; 477 connect (&vboxGlobal(), SIGNAL (mediaEnumFinished (const VBoxMediaList &)), 478 this, SLOT (onMediaEnumDone())); 476 479 mResetFirstRunFlag = false; 477 480 … … 826 829 /* Boot-order table */ 827 830 tblBootOrder = new BootItemsList (groupBox12, "tblBootOrder"); 828 connect (tblBootOrder, SIGNAL (bootSequenceChanged()), 829 this, SLOT (resetFirstRunFlag())); 831 830 832 /* Fixing focus order for BootItemsList */ 831 833 setTabOrder (tbwGeneral, tblBootOrder); … … 1137 1139 1138 1140 1141 void VBoxVMSettingsDlg::onMediaEnumDone() 1142 { 1143 mAllowResetFRF = true; 1144 } 1145 1146 1139 1147 void VBoxVMSettingsDlg::resetFirstRunFlag() 1140 1148 { 1141 mResetFirstRunFlag = true; 1149 if (mAllowResetFRF) 1150 mResetFirstRunFlag = true; 1142 1151 } 1143 1152 … … 1570 1579 /* Boot-order */ 1571 1580 tblBootOrder->getFromMachine (machine); 1581 connect (tblBootOrder, SIGNAL (bootSequenceChanged()), 1582 this, SLOT (resetFirstRunFlag())); 1572 1583 1573 1584 /* ACPI */
Note:
See TracChangeset
for help on using the changeset viewer.