diff options
Diffstat (limited to 'src/plugins/perfprofiler/perfprofilertool.cpp')
-rw-r--r-- | src/plugins/perfprofiler/perfprofilertool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/perfprofiler/perfprofilertool.cpp b/src/plugins/perfprofiler/perfprofilertool.cpp index c5656855527..793a5a9ef77 100644 --- a/src/plugins/perfprofiler/perfprofilertool.cpp +++ b/src/plugins/perfprofiler/perfprofilertool.cpp @@ -589,7 +589,7 @@ void PerfProfilerTool::showLoadTraceDialog() { m_perspective.select(); - FilePath filePath = FileUtils::getOpenFilePath(nullptr, Tr::tr("Load Trace File"), + FilePath filePath = FileUtils::getOpenFilePath(Tr::tr("Load Trace File"), {}, Tr::tr("Trace File (*.ptq)")); if (filePath.isEmpty()) return; @@ -608,7 +608,7 @@ void PerfProfilerTool::showSaveTraceDialog() { m_perspective.select(); - FilePath filePath = FileUtils::getSaveFilePath(nullptr, Tr::tr("Save Trace File"), + FilePath filePath = FileUtils::getSaveFilePath(Tr::tr("Save Trace File"), {}, Tr::tr("Trace File (*.ptq)")); if (filePath.isEmpty()) return; |