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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user