Changeset 5795 in vbox
- Timestamp:
- Nov 19, 2007 2:02:39 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
r5792 r5795 3167 3167 <variable access="private">BootItemsList *tblBootOrder;</variable> 3168 3168 <variable access="private">QString mNoInterfaces;</variable> 3169 <variable access="private">bool mAllowResetF RF;</variable>3169 <variable access="private">bool mAllowResetFirstRunFlag;</variable> 3170 3170 <variable access="private">bool mResetFirstRunFlag;</variable> 3171 3171 </variables> … … 3208 3208 <slot>hostInterfaceAdd()</slot> 3209 3209 <slot>hostInterfaceRemove()</slot> 3210 <slot>onMediaEnum Done()</slot>3210 <slot>onMediaEnumerationDone()</slot> 3211 3211 <slot>resetFirstRunFlag()</slot> 3212 3212 </slots> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui.h
r5792 r5795 474 474 polished = false; 475 475 476 mAllowResetFRF = false; 476 /* disallow resetting First Run Wizard flag until media enumeration 477 * process is finished and all data is finally loaded into ui */ 478 mAllowResetFirstRunFlag = false; 477 479 connect (&vboxGlobal(), SIGNAL (mediaEnumFinished (const VBoxMediaList &)), 478 this, SLOT (onMediaEnumDone())); 479 mResetFirstRunFlag = false; 480 this, SLOT (onMediaEnumerationDone())); 480 481 481 482 setIcon (QPixmap::fromMimeSource ("settings_16px.png")); … … 829 830 /* Boot-order table */ 830 831 tblBootOrder = new BootItemsList (groupBox12, "tblBootOrder"); 832 connect (tblBootOrder, SIGNAL (bootSequenceChanged()), 833 this, SLOT (resetFirstRunFlag())); 831 834 832 835 /* Fixing focus order for BootItemsList */ … … 1139 1142 1140 1143 1141 void VBoxVMSettingsDlg::onMediaEnum Done()1142 { 1143 mAllowResetF RF= true;1144 void VBoxVMSettingsDlg::onMediaEnumerationDone() 1145 { 1146 mAllowResetFirstRunFlag = true; 1144 1147 } 1145 1148 … … 1147 1150 void VBoxVMSettingsDlg::resetFirstRunFlag() 1148 1151 { 1149 if (mAllowResetF RF)1152 if (mAllowResetFirstRunFlag) 1150 1153 mResetFirstRunFlag = true; 1151 1154 } … … 1579 1582 /* Boot-order */ 1580 1583 tblBootOrder->getFromMachine (machine); 1581 connect (tblBootOrder, SIGNAL (bootSequenceChanged()),1582 this, SLOT (resetFirstRunFlag()));1583 1584 1584 1585 /* ACPI */ … … 1914 1915 wvalFloppy->revalidate(); 1915 1916 wvalVRDP->revalidate(); 1917 1918 /* finally set the reset First Run Wizard flag to "false" to make sure 1919 * user will see this dialog if he hasn't change the boot-order 1920 * and/or mounted images configuration */ 1921 mResetFirstRunFlag = false; 1916 1922 } 1917 1923
Note:
See TracChangeset
for help on using the changeset viewer.