QStringfileName=QFileDialog::getOpenFileName(this,tr("Specify MAVLink log file name to replay"),QDesktopServices::storageLocation(QDesktopServices::DesktopLocation),tr("MAVLink or Binary Logfile (*.mavlink *.bin *.log)"));
MainWindow::instance()->showCriticalMessage(tr("The selected logfile is unreadable"),tr("Please make sure that the file %1 is readable or select a different file").arg(file));