OSDN Git Service

[UI][Qt] .
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 25 Aug 2019 08:33:10 +0000 (17:33 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 25 Aug 2019 08:33:10 +0000 (17:33 +0900)
source/src/qt/common/qt_utils.cpp

index dc3948c..4197957 100644 (file)
@@ -245,7 +245,7 @@ void Ui_MainWindow::LaunchEmuThread(void)
        hRunEmu->setObjectName(objNameStr);
        
        hDrawEmu = new DrawThreadClass(emu->get_osd(), csp_logger, this);
-       emu->set_parent_handler(hRunEmu, hDrawEmu);
+       emu->set_parent_handler((EmuThreadClass*)hRunEmu, hDrawEmu);
        
 #ifdef ONE_BOARD_MICRO_COMPUTER
        QImageReader *reader = new QImageReader(":/background.png");