docs: Add new snippet

[skip ci]
This commit is contained in:
Paweł Kotiuk
2022-12-05 13:02:38 +01:00
parent 940d8b3fa3
commit 1cbe0f05c0

6
.vscode/snippets.md vendored
View File

@@ -8,3 +8,9 @@ Check source of signal
qInfo() << "objName ::" << obj->metaObject()->className() << endl
<< "method ::" << obj->metaObject()->method(senderSignalIndex()).methodSignature();
```
To make antimicrox crash when warrning happens use command:
`QT_FATAL_WARNINGS=1 ./build/bin/antimicrox`
(Useful when used with debugger)