MCPcopy Create free account
hub / github.com/MediaArea/MediaInfo / buttonViewClicked

Method buttonViewClicked

Source/GUI/Qt/mainwindow.cpp:1450–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1448}
1449
1450void MainWindow::buttonViewClicked()
1451{
1452#if defined(_WIN32) && defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_APP) // Menu bug
1453 Sleep(200);
1454 menuView->show();
1455 menuView->hide();
1456
1457 QPoint p;
1458 p.setX(ui->toolBar->rect().right() + 5);
1459 p.setY(buttonView->rect().center().y());
1460 menuView->exec(p);
1461#else
1462 menuView->exec(buttonView->mapToGlobal(QPoint(0, 0)));
1463#endif
1464}
1465
1466void MainWindow::footerButtonClicked()
1467{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected