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

Fix for FW upload failing if placed on a folder with non latin1 chars

This commit is contained in:
zedamota 2011-07-12 21:36:54 +01:00
parent 30967a47d2
commit 283422b930

View File

@ -406,7 +406,7 @@ void deviceWidget::uploadFirmware()
connect(m_dfu, SIGNAL(progressUpdated(int)), this, SLOT(setProgress(int))); connect(m_dfu, SIGNAL(progressUpdated(int)), this, SLOT(setProgress(int)));
connect(m_dfu, SIGNAL(operationProgress(QString)), this, SLOT(dfuStatus(QString))); connect(m_dfu, SIGNAL(operationProgress(QString)), this, SLOT(dfuStatus(QString)));
connect(m_dfu, SIGNAL(uploadFinished(OP_DFU::Status)), this, SLOT(uploadFinished(OP_DFU::Status))); connect(m_dfu, SIGNAL(uploadFinished(OP_DFU::Status)), this, SLOT(uploadFinished(OP_DFU::Status)));
bool retstatus = m_dfu->UploadFirmware(filename.toAscii(),verify, deviceID); bool retstatus = m_dfu->UploadFirmware(filename,verify, deviceID);
if(!retstatus ) { if(!retstatus ) {
status("Could not start upload", STATUSICON_FAIL); status("Could not start upload", STATUSICON_FAIL);
return; return;