MCPcopy Create free account
hub / github.com/KDAB/hotspot / queryOpenDataFile

Method queryOpenDataFile

src/mainwindow.cpp:287–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287QString 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
296void MainWindow::onOpenFileButtonClicked()
297{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected