diff options
author | hjk <[email protected]> | 2024-12-11 11:46:34 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2025-01-06 09:20:58 +0000 |
commit | bcdf7d71b6e23c17f3a9963264c6025b8747fa93 (patch) | |
tree | 9e9d958e742cfeb7a5326e57bbfed85a116c4beb /src/plugins/qmlprofiler | |
parent | 0c5c42a6d68a3a77b5761204298926a18407cc26 (diff) |
Utils: Remove parent argument from FileUtils dialogs
Some were using ICore::dialogParent() directly and the 'nullptr' users
were using that implicitly, but quite a few actually effectively changed
now from some local widget to (implicit) ICore::dialogParent().
Change-Id: Ibb2767b1289221dd26757361235ee88df4a1695e
Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 9a0c38a1e7d..efc3fcd0641 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -644,7 +644,7 @@ void QmlProfilerTool::showSaveDialog() QLatin1String tFile(QtdFileExtension); QLatin1String zFile(QztFileExtension); FilePath filePath = FileUtils::getSaveFilePath( - nullptr, Tr::tr("Save QML Trace"), + Tr::tr("Save QML Trace"), globalSettings().lastTraceFile(), Tr::tr("QML traces (*%1 *%2)").arg(zFile).arg(tFile)); if (!filePath.isEmpty()) { @@ -668,7 +668,7 @@ void QmlProfilerTool::showLoadDialog() QLatin1String tFile(QtdFileExtension); QLatin1String zFile(QztFileExtension); FilePath filePath = FileUtils::getOpenFilePath( - nullptr, Tr::tr("Load QML Trace"), + Tr::tr("Load QML Trace"), globalSettings().lastTraceFile(), Tr::tr("QML traces (*%1 *%2)").arg(zFile).arg(tFile)); |