Qt6: fix possible build failure with Qt 6.5

Forum thread: https://forum.freecad.org/viewtopic.php?p=692199#p692199
This commit is contained in:
wmayer
2023-07-10 22:28:43 +02:00
committed by Chris Hennes
parent 713bc349a5
commit 141b2ecf0a
6 changed files with 10 additions and 23 deletions

View File

@@ -24,7 +24,6 @@
#ifndef _PreComp_
# include <QAction>
# include <QGenericReturnArgument>
# include <QMessageBox>
# include <QMetaObject>
#endif
@@ -591,7 +590,7 @@ TaskPipeOrientation::TaskPipeOrientation(ViewProviderPipe* PipeView, bool /*newO
// should be called after panel has become visible
QMetaObject::invokeMethod(this, "updateUI", Qt::QueuedConnection,
QGenericReturnArgument(), Q_ARG(int,pipe->Mode.getValue()));
Q_ARG(int,pipe->Mode.getValue()));
this->blockSelection(false);
}
@@ -846,7 +845,7 @@ TaskPipeScaling::TaskPipeScaling(ViewProviderPipe* PipeView, bool /*newObj*/, QW
// should be called after panel has become visible
QMetaObject::invokeMethod(this, "updateUI", Qt::QueuedConnection,
QGenericReturnArgument(), Q_ARG(int,pipe->Transformation.getValue()));
Q_ARG(int,pipe->Transformation.getValue()));
this->blockSelection(false);
}