Add channel names on companion failsafe sliders (fix #3021), remove redundant stuff

This commit is contained in:
Andre Bernet
2015-11-01 14:06:49 +04:00
parent 1641db873d
commit 58216ec8b0
7 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -45,6 +45,7 @@ class ModulePanel : public ModelPanel
struct ChannelFailsafeWidgetsGroup {
QComboBox * combo;
QDoubleSpinBox * spinbox;
QLabel * label;
};
Q_OBJECT
@@ -75,7 +76,6 @@ class ModulePanel : public ModelPanel
ModuleData & module;
int moduleIdx;
Ui::Module *ui;
QVector<QDoubleSpinBox *> failsafeSpins;
ChannelFailsafeWidgetsGroup failsafeGroups[maxChannels];
};