mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Cosmetics
This commit is contained in:
parent
73139bf01b
commit
e42945b861
2 changed files with 1 additions and 13 deletions
|
@ -27,18 +27,6 @@
|
||||||
#include <QPrinter>
|
#include <QPrinter>
|
||||||
#include <QPrintDialog>
|
#include <QPrintDialog>
|
||||||
|
|
||||||
//class DragDropHeader {
|
|
||||||
// public:
|
|
||||||
// DragDropHeader():
|
|
||||||
// general_settings(false),
|
|
||||||
// models_count(0)
|
|
||||||
// {
|
|
||||||
// }
|
|
||||||
// bool general_settings;
|
|
||||||
// uint8_t models_count;
|
|
||||||
// uint8_t models[CPN_MAX_MODELS];
|
|
||||||
//};
|
|
||||||
|
|
||||||
CompareDialog::CompareDialog(QWidget * parent, Firmware * firmware):
|
CompareDialog::CompareDialog(QWidget * parent, Firmware * firmware):
|
||||||
QDialog(parent, Qt::Window),
|
QDialog(parent, Qt::Window),
|
||||||
multimodelprinter(new MultiModelPrinter(firmware)),
|
multimodelprinter(new MultiModelPrinter(firmware)),
|
||||||
|
|
|
@ -357,7 +357,7 @@ QString RawSource::toString(const ModelData * model, const GeneralSettings * con
|
||||||
|
|
||||||
case SOURCE_TYPE_VIRTUAL_INPUT:
|
case SOURCE_TYPE_VIRTUAL_INPUT:
|
||||||
{
|
{
|
||||||
const char * name = NULL;
|
const char * name = nullptr;
|
||||||
if (model)
|
if (model)
|
||||||
name = model->inputNames[index];
|
name = model->inputNames[index];
|
||||||
return RadioData::getElementName(tr("I", "as in Input"), index + 1, name);
|
return RadioData::getElementName(tr("I", "as in Input"), index + 1, name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue