Cosmetics
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user