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:
@@ -303,7 +303,7 @@ ProgressDialog::ProgressDialog (SequencerDialog* s, QWidget * parent)
|
||||
m_taskbarButton = nullptr;
|
||||
m_taskbarButton = nullptr;
|
||||
#endif
|
||||
connect(this, &Gui::ProgressDialog::canceled, this, &ProgressDialog::onCancel);
|
||||
connect(this, &QProgressDialog::canceled, this, &ProgressDialog::onCancel);
|
||||
}
|
||||
|
||||
ProgressDialog::~ProgressDialog ()
|
||||
|
||||
Reference in New Issue
Block a user