mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
uncrustify
This commit is contained in:
parent
0f2d65a8e4
commit
8218becdac
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user