Gui: fix possible problems with new style connect
* In UIntSpinBox rename the signal to not overwrite the signal of the base class * In UIntSpinBox use the (ambiguous) signal 'valueChanged' of the base class QSpinBox * To avoid that connect() fails use the function pointer of the Qt class where the signal is defined
This commit is contained in:
@@ -302,7 +302,7 @@ void ButtonModel::loadConfig(const char *RequiredDeviceName)
|
||||
CommandView::CommandView(QWidget *parent) : QTreeView(parent)
|
||||
{
|
||||
this->setEnabled(false);
|
||||
connect(this, &Gui::Dialog::CommandView::clicked, this, &CommandView::goClicked);
|
||||
connect(this, &QTreeView::clicked, this, &CommandView::goClicked);
|
||||
}
|
||||
|
||||
void CommandView::goChangeCommandSelection(const QString& commandName)
|
||||
|
||||
Reference in New Issue
Block a user