| 887 | } |
| 888 | |
| 889 | void Probe::selectObject(QObject *object, const QPoint &pos) |
| 890 | { |
| 891 | const auto tools = m_toolManager->toolsForObject(object); |
| 892 | m_toolManager->selectTool(tools.value(0)); |
| 893 | emit objectSelected(object, pos); |
| 894 | } |
| 895 | |
| 896 | void Probe::selectObject(QObject *object, const QString &toolId, const QPoint &pos) |
| 897 | { |