QStringfileName=QFileDialog::getOpenFileName(this,tr("Specify MAVLink log file name to replay"),QDesktopServices::storageLocation(QDesktopServices::DesktopLocation),tr("MAVLink or Binary Logfile (*.mavlink *.bin *.log)"));
QStringfileName=QFileDialog::getOpenFileName(this,tr("Specify MAVLink log file name to replay"),startDirectory,tr("MAVLink or Binary Logfile (*.mavlink *.bin *.log)"));