Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.1.1
-
None
Description
It would be nice if I could use C++11 style lambdas with QTimer's single shot property.
I want to do this:
//Clears message in 1000 seconds
QTimer::singleShot(1000,[&]()
);
Attachments
Issue Links
- is replaced by
-
QTBUG-26406 Function Pointer Syntax / Lambda support for QTimer::singleShot()
- Closed