Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.9.1
-
None
Description
The documentation for this overload of singleShot says that the context parameter is a const pointer:
void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *context, Functor functor)
In fact it is not const in the actual declaration. There's a mismatch in the header file between the #ifdef Q_QDOC / #else declarations.
Attachments
Issue Links
- is replaced by
-
QTBUG-69800 QTimer::singleShot() requires a non-const context
- Closed