TD: replace slots with member function pointers

This commit is contained in:
wmayer
2023-02-01 16:28:28 +01:00
committed by Uwe
parent 0363ebdf8f
commit 4b3fb1c079

View File

@@ -63,7 +63,7 @@ TaskBalloon::TaskBalloon(QGIViewBalloon *parent, ViewProviderBalloon *balloonVP)
ui->leText->setText(qs);
ui->leText->selectAll();
connect(ui->leText, &QLineEdit::textChanged, this, &TaskBalloon::onTextChanged);
QTimer::singleShot(0, ui->leText, SLOT(setFocus()));
QTimer::singleShot(0, ui->leText, qOverload<>(&QLineEdit::setFocus));
DrawGuiUtil::loadArrowBox(ui->comboEndSymbol);
i = parent->getBalloonFeat()->EndType.getValue();