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:
@@ -87,7 +87,7 @@ CallTipsList::CallTipsList(QPlainTextEdit* parent)
|
||||
pal.setColor(QPalette::Inactive, QPalette::HighlightedText, pal.color(QPalette::Active, QPalette::HighlightedText));
|
||||
parent->setPalette( pal );
|
||||
|
||||
connect(this, &Gui::CallTipsList::itemActivated, this, &CallTipsList::callTipItemActivated);
|
||||
connect(this, &QListWidget::itemActivated, this, &CallTipsList::callTipItemActivated);
|
||||
|
||||
hideKeys.append(Qt::Key_Space);
|
||||
hideKeys.append(Qt::Key_Exclam);
|
||||
|
||||
Reference in New Issue
Block a user