aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level2/README-static-pmf.md
blob: e27e7b6c76f3905f7b69518b8150c139299b1895 (plain)
1
2
3
4
5
6
7
8
9
# static-pmf

Warns when storing a pointer to QObject member function into a static variable.
Passing such variable to a connect is known to fail when using MingW.

Example:

static auto pmf = &QObject::destroyed;
QCOMPARE(pmf, &QObject::destroyed); // fails