Browse Source

Fixed minor issue with log file name

QGC4.4
lm 14 years ago
parent
commit
4f55790f28
  1. 2
      src/ui/QGCDataPlot2D.cc

2
src/ui/QGCDataPlot2D.cc

@ -269,7 +269,7 @@ void QGCDataPlot2D::selectFile() @@ -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);

Loading…
Cancel
Save