1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-26 00:14:24 +02:00

Switched to Qt5 signal/slot API

This commit is contained in:
2021-04-28 00:01:07 +02:00
parent 9f3917b0f2
commit 2e2fee560f
19 changed files with 136 additions and 140 deletions

View File

@ -409,8 +409,8 @@ void PathItem::addGraph(GraphItem *graph)
_graphs.append(graph);
if (graph) {
connect(this, SIGNAL(selected(bool)), graph, SLOT(hover(bool)));
connect(graph, SIGNAL(selected(bool)), this, SLOT(hover(bool)));
connect(this, &PathItem::selected, graph, &GraphItem::hover);
connect(graph, &GraphItem::selected, this, &PathItem::hover);
}
}