Qt 6.11 is out! See what's new in the release
blog
QAction trigger source
General and Desktop
6
Posts
2
Posters
2.0k
Views
1
Watching
-
You can use:
@
sender()->objectName();
@But I think you should find an other solution (using 2 separate QActions, perhaps?_.
-
Not sure what you mean by "free", but it is available in every QObject. See the "documentation":http://qt-project.org/doc/qt-5/qobject.html#sender.
-
Toy have the answer in the documentation, then: it's a member of QObject.