| 1448 | } |
| 1449 | |
| 1450 | void 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 | |
| 1466 | void MainWindow::footerButtonClicked() |
| 1467 | { |
nothing calls this directly
no outgoing calls
no test coverage detected