1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

uncrustify

This commit is contained in:
Alessio Morale 2014-03-09 16:43:31 +01:00
parent 0f2d65a8e4
commit 8218becdac
4 changed files with 11 additions and 8 deletions

View File

@ -261,6 +261,7 @@ void DeviceWidget::status(QString str, StatusIcon ic)
void DeviceWidget::loadFirmware()
{
QString file = setOpenFileName();
loadFirmware(file);
}
@ -525,6 +526,7 @@ QString DeviceWidget::getDevFirmwarePath()
{
QDir fwDirectory;
QString fwDirectoryStr;
fwDirectoryStr = QCoreApplication::applicationDirPath();
fwDirectory = QDir(fwDirectoryStr);
#ifdef Q_OS_WIN
@ -553,6 +555,7 @@ QString DeviceWidget::setOpenFileName()
tr("Select firmware file"),
fwDirectoryStr,
tr("Firmware Files (*.opfw *.bin)"));
return fileName;
}