VirtualBox

Changeset 97588 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 17, 2022 10:10:02 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154623
Message:

FE/Qt: bugref:10323. Fixing some typos.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r97552 r97588  
    436436void UISession::sltInstallGuestAdditionsFrom(const QString &strSource)
    437437{
    438     if (!GuestAdditionsUpgradable())
     438    if (!guestAdditionsUpgradable())
    439439        return sltMountDVDAdHoc(strSource);
    440440
     
    869869
    870870        if (actionPool()->action(UIActionIndexRT_M_Devices_S_UpgradeGuestAdditions))
    871             actionPool()->action(UIActionIndexRT_M_Devices_S_UpgradeGuestAdditions)->setEnabled(GuestAdditionsUpgradable());
     871            actionPool()->action(UIActionIndexRT_M_Devices_S_UpgradeGuestAdditions)->setEnabled(guestAdditionsUpgradable());
    872872
    873873        /* Notify listeners about GA state really changed: */
     
    21872187}
    21882188
    2189 bool UISession::GuestAdditionsUpgradable()
     2189bool UISession::guestAdditionsUpgradable()
    21902190{
    21912191    if (!machine().isOk())
     
    21982198
    21992199    const QString strGuestFamily = osType.GetFamilyId();
    2200     bool fIsWindowOrLinux = strGuestFamily.contains("window", Qt::CaseInsensitive) || strGuestFamily.contains("linux", Qt::CaseInsensitive);
     2200    bool fIsWindowOrLinux = strGuestFamily.contains("windows", Qt::CaseInsensitive) || strGuestFamily.contains("linux", Qt::CaseInsensitive);
    22012201
    22022202    if (!fIsWindowOrLinux)
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h

    r97552 r97588  
    486486
    487487    /* Check if GA can be upgraded. */
    488     bool GuestAdditionsUpgradable();
     488    bool guestAdditionsUpgradable();
    489489    /* Private variables: */
    490490    UIMachine *m_pMachine;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette