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:
wmayer
2023-01-12 17:02:59 +01:00
parent 19d624396f
commit 103de43a4e
14 changed files with 43 additions and 50 deletions

View File

@@ -77,7 +77,7 @@ bool DialogOptions::dontUseNativeColorDialog()
FileDialog::FileDialog(QWidget * parent)
: QFileDialog(parent)
{
connect(this, &Gui::FileDialog::filterSelected, this, &FileDialog::onSelectedFilter);
connect(this, &QFileDialog::filterSelected, this, &FileDialog::onSelectedFilter);
}
FileDialog::~FileDialog()