From 4f55790f28b1cfbc9a38b9057aaf3cc4cafd7444 Mon Sep 17 00:00:00 2001 From: lm Date: Tue, 28 Dec 2010 17:25:05 +0100 Subject: [PATCH] Fixed minor issue with log file name --- src/ui/QGCDataPlot2D.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/QGCDataPlot2D.cc b/src/ui/QGCDataPlot2D.cc index 287c9628b..6f71b0ba4 100644 --- a/src/ui/QGCDataPlot2D.cc +++ b/src/ui/QGCDataPlot2D.cc @@ -269,7 +269,7 @@ void QGCDataPlot2D::selectFile() // Let user select the log file name //QDate date(QDate::currentDate()); // QString("./pixhawk-log-" + date.toString("yyyy-MM-dd") + "-" + QString::number(logindex) + ".log") - fileName = QFileDialog::getOpenFileName(this, tr("Specify log file name"), tr("."), tr("Logfile (*.txt)")); + fileName = QFileDialog::getOpenFileName(this, tr("Specify log file name"), QString(), "Logfile (*.csv *.txt *.log)"); // Store reference to file QFileInfo fileInfo(fileName); -- 2.22.0