mirror of https://github.com/CGAL/cgal
Compatibility with QT_NO_KEYWORDS
This commit is contained in:
parent
24b7b762f6
commit
2bb72c7f26
|
|
@ -368,7 +368,7 @@ DemosMainWindow::openRecentFile_aux()
|
|||
{
|
||||
QAction *action = qobject_cast<QAction *>(sender());
|
||||
if (action)
|
||||
emit openRecentFile(action->data().toString());
|
||||
Q_EMIT openRecentFile(action->data().toString());
|
||||
}
|
||||
|
||||
CGAL_INLINE_FUNCTION
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ namespace Qt {
|
|||
QMouseEvent* mouseEvent = static_cast<QMouseEvent*>(event);
|
||||
QPointF pos = v->mapToScene(mouseEvent->pos());
|
||||
QString xy = QString(" ") + QString::number(pos.x(),'g', 6) + " , " + QString::number(pos.y(),'g', 6) + " ";
|
||||
emit mouseCoordinates(xy);
|
||||
Q_EMIT mouseCoordinates(xy);
|
||||
if(rectItem->isVisible()) {
|
||||
QPointF size = v->mapToScene(mouseEvent->pos());
|
||||
size = size - rect_first_point;
|
||||
|
|
|
|||
Loading…
Reference in New Issue