Changeset 5128 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 1, 2007 3:50:24 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 24990
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxDefs.h
r5051 r5128 164 164 static const char* GUI_LicenseKey; 165 165 #endif 166 static const char* GUI_RegistrationTriesLeft;167 166 static const char* GUI_RegistrationDlgWinID; 167 static const char* GUI_RegistrationData; 168 168 }; 169 169 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxDefs.cpp
r5066 r5128 32 32 const char* VBoxDefs::GUI_LicenseKey = "GUI/LicenseAgreed"; 33 33 #endif 34 const char* VBoxDefs::GUI_RegistrationTriesLeft = "GUI/RegistrationTriesLeft";35 34 const char* VBoxDefs::GUI_RegistrationDlgWinID = "GUI/RegistrationDlgWinID"; 35 const char* VBoxDefs::GUI_RegistrationData = "GUI/RegistrationData"; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r5109 r5128 1653 1653 { 1654 1654 /* Check if the automatic registration already passed */ 1655 if (virtualBox().GetExtraData (VBoxDefs::GUI_RegistrationTriesLeft) == "0") 1655 QString regData = virtualBox().GetExtraData (VBoxDefs::GUI_RegistrationData); 1656 if (regData.startsWith ("triesLeft=")) 1657 { 1658 QString triesLeft = regData.section ("=", 1, 1); 1659 if (triesLeft == "0") 1660 return; 1661 } 1662 else if (!regData.isEmpty()) 1656 1663 return; 1657 1664
Note:
See TracChangeset
for help on using the changeset viewer.