Changeset 2703 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 17, 2007 7:24:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r2700 r2703 58 58 59 59 #include <VBox/VBoxGuest.h> 60 #define VBOX_GUEST_ADDITIONS_VERSION_OK(additionsVersion) \61 (RT_HIWORD(additionsVersion) == RT_HIWORD(VMMDEV_VERSION) && \62 RT_LOWORD(additionsVersion) <= RT_LOWORD(VMMDEV_VERSION))63 60 64 61 #if defined(Q_WS_X11) … … 2515 2512 * compatibility issues in case of installed version is outdated. */ 2516 2513 uint version = aVersion.toUInt(); 2517 bool isVersionOk = VBOX_GUEST_ADDITIONS_VERSION_OK (version); 2518 if (!isVersionOk) 2514 QString fullVersion = QString ("%1.%2") 2515 .arg (RT_HIWORD (version)).arg (RT_LOWORD (version)); 2516 2517 if (RT_HIWORD (version) < RT_HIWORD (VMMDEV_VERSION)) 2519 2518 vboxProblem().message (this, VBoxProblemReporter::Warning, 2520 tr ("<p>Current Guest Additions version is outdated. Please install " 2521 "the latest version to avoid compatibility issues.</p>")); 2519 tr ("<p>Your Guest Additions are outdated (current version: %1).</p>" 2520 "<p>You must update to the latest version by choosing Devices " 2521 "- Install Guest Additions.</p>").arg (fullVersion)); 2522 else if (RT_HIWORD (version) == RT_HIWORD (VMMDEV_VERSION) && 2523 RT_LOWORD (version) < RT_LOWORD (VMMDEV_VERSION)) 2524 vboxProblem().message (this, VBoxProblemReporter::Warning, 2525 tr ("<p>Your Guest Additions are outdated (current version: %1).</p>" 2526 "<p>There is a newer Guest Additions version. You should update " 2527 "to the latest version by choosing Devices " 2528 "- Install Guest Additions.</p>").arg (fullVersion)); 2522 2529 } 2523 2530
Note:
See TracChangeset
for help on using the changeset viewer.