VirtualBox

Ignore:
Timestamp:
Mar 1, 2022 2:56:01 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: qt6: Signal QSignalMapper::mapped(const QString &) renamed to mappedString (5.15). bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIGuestOSTypeSelectionButton.cpp

    r93115 r94044  
    4242    m_pSignalMapper = new QSignalMapper(this);
    4343    if (m_pSignalMapper)
     44#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
     45        connect(m_pSignalMapper, static_cast<void(QSignalMapper::*)(const QString &)>(&QSignalMapper::mappedString),
     46                this, &UIGuestOSTypeSelectionButton::setOSTypeId);
     47#else
    4448        connect(m_pSignalMapper, static_cast<void(QSignalMapper::*)(const QString &)>(&QSignalMapper::mapped),
    4549                this, &UIGuestOSTypeSelectionButton::setOSTypeId);
     50#endif
    4651
    4752    /* Create main menu: */
Note: See TracChangeset for help on using the changeset viewer.

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