chore: Cleanup some compiler warnings (#2864)

This commit is contained in:
philmoz
2022-12-16 10:24:28 +10:00
committed by GitHub
parent 86687d8f73
commit a1c55a5b02
10 changed files with 14 additions and 11 deletions
-1
View File
@@ -247,7 +247,6 @@ void CurveDialog::updateCurve()
Node * nodel = 0;
Node * nodex = 0;
QColor color;
scene->clear();
@@ -33,8 +33,6 @@ SimulatedUIWidgetX9D2019::SimulatedUIWidgetX9D2019(SimulatorInterface *simulator
// add actions in order of appearance on the help menu
QPoint ctr(70, 100);
act = new RadioUiAction(0, QList<int>() << Qt::Key_Up << Qt::Key_PageUp, SIMU_STR_HLP_KEYS_GO_UP, SIMU_STR_HLP_ACT_MENU);
addRadioWidget(ui->leftbuttons->addArea(QRect(25, 40, 80, 35), "X9D2019/left_menu.png", act));
@@ -13,8 +13,6 @@ SimulatedUIWidgetX9LITE::SimulatedUIWidgetX9LITE(SimulatorInterface *simulator,
// add actions in order of appearance on the help menu
QPoint ctr(70, 91);
act = new RadioUiAction(0, QList<int>() << Qt::Key_PageUp << Qt::Key_Up, SIMU_STR_HLP_KEYS_GO_UP, SIMU_STR_HLP_ACT_MENU_ICN);
addRadioWidget(ui->leftbuttons->addArea(QRect(80, 20, 40, 35), "X9LITE/left_menu.png", act));
+3 -3
View File
@@ -34,9 +34,9 @@ class YamlFormat : public StorageFormat
{
}
virtual QString name() { return "yml"; }
virtual bool load(RadioData & radioData);
virtual bool write(const RadioData & radioData) { return false; }
virtual QString name() override { return "yml"; }
virtual bool load(RadioData & radioData) override;
virtual bool write(const RadioData & radioData) override { return false; }
virtual bool writeModel(const RadioData & radioData, const int modelIndex) override;
protected: