1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

Trying to fix mysterious MacOSX build isssue.

This commit is contained in:
Fredrik Arvidsson 2014-10-25 16:40:38 +02:00
parent 4ba856f1d3
commit beeef0431c

View File

@ -227,7 +227,7 @@ void VehicleTemplateExportDialog::accept()
.arg(QDir::separator())
.arg(fileName);
QDir dir = QFileInfo(QFile(fullPath)).absoluteDir();
QDir dir = QFileInfo(fullPath).absoluteDir();
if (!dir.exists()) {
fullPath = QString("%1%2%3").arg(QDir::homePath(), QDir::separator(), fileName);
}