mirror of
https://github.com/simple64/simple64.git
synced 2026-09-07 21:02:44 +02:00
update gui
This commit is contained in:
@@ -325,6 +325,7 @@ m64p_error launchGame(QString netplay_ip, int netplay_port, int netplay_player)
|
||||
reg_id = rand();
|
||||
#endif
|
||||
}
|
||||
reg_id += netplay_player;
|
||||
|
||||
if ((*CoreDoCommand)(M64CMD_NETPLAY_CONTROL_PLAYER, netplay_player, ®_id) == M64ERR_SUCCESS)
|
||||
DebugMessage(M64MSG_INFO, "Netplay: registered for player %d", netplay_player);
|
||||
|
||||
@@ -567,7 +567,7 @@ void MainWindow::createOGLWindow(QSurfaceFormat* format)
|
||||
if (my_window) my_window->deleteLater();
|
||||
|
||||
my_window = new OGLWindow();
|
||||
QWidget *container = QWidget::createWindowContainer(my_window);
|
||||
QWidget *container = QWidget::createWindowContainer(my_window, this);
|
||||
container->setFocusPolicy(Qt::StrongFocus);
|
||||
|
||||
my_window->setCursor(Qt::BlankCursor);
|
||||
|
||||
Reference in New Issue
Block a user