VirtualBox

Ignore:
Timestamp:
Sep 8, 2019 7:13:14 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt:bugref:8938. Build fix

File:
1 edited

Legend:

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

    r80652 r80653  
    549549            /* Logic => window signals: */
    550550            connect(this, &UIMachineLogicFullscreen::sigNotifyAboutNativeFullscreenShouldBeEntered,
    551                     pMachineWindow, &UIMachineWindow::sltEnterNativeFullscreen);
     551                    qobject_cast<UIMachineWindowFullscreen*>(pMachineWindow), &UIMachineWindowFullscreen::sltEnterNativeFullscreen);
    552552            connect(this, &UIMachineLogicFullscreen::sigNotifyAboutNativeFullscreenShouldBeExited,
    553                     pMachineWindow, &UIMachineWindow::sltExitNativeFullscreen);
     553                    qobject_cast<UIMachineWindowFullscreen*>(pMachineWindow), &UIMachineWindowFullscreen::sltExitNativeFullscreen);
    554554            /* Window => logic signals: */
    555             connect(pMachineWindow, &UIMachineWindow::sigNotifyAboutNativeFullscreenWillEnter,
     555            connect(qobject_cast<UIMachineWindowFullscreen*>(pMachineWindow), &UIMachineWindowFullscreen::sigNotifyAboutNativeFullscreenWillEnter,
    556556                    this, &UIMachineLogicFullscreen::sltHandleNativeFullscreenWillEnter,
    557                     Qt::QueuedConnection);
    558             connect(pMachineWindow, &UIMachineWindow::sigNotifyAboutNativeFullscreenDidEnter,
     557                     Qt::QueuedConnection);
     558            connect(qobject_cast<UIMachineWindowFullscreen*>(pMachineWindow), &UIMachineWindowFullscreen::sigNotifyAboutNativeFullscreenDidEnter,
    559559                    this, &UIMachineLogicFullscreen::sltHandleNativeFullscreenDidEnter,
    560560                    Qt::QueuedConnection);
    561             connect(pMachineWindow, &UIMachineWindow::sigNotifyAboutNativeFullscreenWillExit,
     561            connect(qobject_cast<UIMachineWindowFullscreen*>(pMachineWindow), &UIMachineWindowFullscreen::sigNotifyAboutNativeFullscreenWillExit,
    562562                    this, &UIMachineLogicFullscreen::sltHandleNativeFullscreenWillExit,
    563563                    Qt::QueuedConnection);
    564             connect(pMachineWindow, &UIMachineWindow::sigNotifyAboutNativeFullscreenDidExit,
     564            connect(qobject_cast<UIMachineWindowFullscreen*>(pMachineWindow), &UIMachineWindowFullscreen::sigNotifyAboutNativeFullscreenDidExit,
    565565                    this, &UIMachineLogicFullscreen::sltHandleNativeFullscreenDidExit,
    566566                    Qt::QueuedConnection);
    567             connect(pMachineWindow, &UIMachineWindow::sigNotifyAboutNativeFullscreenFailToEnter,
     567            connect(qobject_cast<UIMachineWindowFullscreen*>(pMachineWindow), &UIMachineWindowFullscreen::sigNotifyAboutNativeFullscreenFailToEnter,
    568568                    this, &UIMachineLogicFullscreen::sltHandleNativeFullscreenFailToEnter,
    569569                    Qt::QueuedConnection);
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