diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 32b8690c9b8eabb9bed1c85e8da97e266bbdcc6e..d17c6f50f9b63a0758773c943ff67f0851b767bf 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -626,7 +626,7 @@ void QmlProfilerTool::logError(const QString &msg) void QmlProfilerTool::showSaveDialog() { Core::ICore *core = Core::ICore::instance(); - QString filename = QFileDialog::getSaveFileName(core->mainWindow(), tr("Save QML Trace"), QString(), tr("QML traces (%1)").arg(TraceFileExtension)); + QString filename = QFileDialog::getSaveFileName(core->mainWindow(), tr("Save QML Trace"), QString(), tr("QML traces (*%1)").arg(TraceFileExtension)); if (!filename.isEmpty()) { if (!filename.endsWith(QLatin1String(TraceFileExtension))) filename += QLatin1String(TraceFileExtension); @@ -637,7 +637,7 @@ void QmlProfilerTool::showSaveDialog() void QmlProfilerTool::showLoadDialog() { Core::ICore *core = Core::ICore::instance(); - QString filename = QFileDialog::getOpenFileName(core->mainWindow(), tr("Load QML Trace"), QString(), tr("QML traces (%1)").arg(TraceFileExtension)); + QString filename = QFileDialog::getOpenFileName(core->mainWindow(), tr("Load QML Trace"), QString(), tr("QML traces (*%1)").arg(TraceFileExtension)); if (!filename.isEmpty()) { // delayed load (prevent graphical artifacts due to long load time) diff --git a/src/plugins/qmlprofiler/qmlprofilertool.h b/src/plugins/qmlprofiler/qmlprofilertool.h index 1e8d542ed8c4309617daadeaba90a047779b8a40..839809fe5b559886cde5193cd63dd6ce682fb1ac 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.h +++ b/src/plugins/qmlprofiler/qmlprofilertool.h @@ -41,7 +41,7 @@ namespace QmlProfiler { namespace Internal { -#define TraceFileExtension "*.qtd" +#define TraceFileExtension ".qtd" class QmlProfilerTool : public Analyzer::IAnalyzerTool {