Gui: replace slots with member function pointers

This commit is contained in:
wmayer
2023-02-01 16:16:05 +01:00
committed by Uwe
parent 1e03fddb67
commit 76860143f7
16 changed files with 79 additions and 70 deletions

View File

@@ -4373,7 +4373,7 @@ void LinkLabel::onLinkActivated (const QString& s)
{
Q_UNUSED(s);
auto select = new LinkSelection(qvariant_cast<App::SubObjectT>(link));
QTimer::singleShot(50, select, SLOT(select()));
QTimer::singleShot(50, select, &LinkSelection::select);
}
void LinkLabel::onEditClicked ()