| 285 | } |
| 286 | |
| 287 | QString MainWindow::queryOpenDataFile() |
| 288 | { |
| 289 | const auto filter = tr("Hotspot data Files (perf*.data perf.data.* *.perfparser *.perfparser.*);;" |
| 290 | "Linux Perf Files (perf*.data perf.data.*);;" |
| 291 | "Perfparser Files (*.perfparser *.perfparser.*);;" |
| 292 | "All Files (*)"); |
| 293 | return QFileDialog::getOpenFileName(this, tr("Open File"), QDir::currentPath(), filter); |
| 294 | } |
| 295 | |
| 296 | void MainWindow::onOpenFileButtonClicked() |
| 297 | { |
nothing calls this directly
no outgoing calls
no test coverage detected