Fix MSVC warnings

* Missing `this` captures
* Implicit size_t -> int conversion
* Unused argument
* Suppress warnings in clang headers

Change-Id: I7083ce6ab22ee22ecc1258539e77c790acc78df1
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2019-09-11 08:22:53 +03:00
committed by Orgad Shaneh
parent 75a0340a53
commit 2aca0c1b28
11 changed files with 22 additions and 18 deletions

View File

@@ -73,7 +73,7 @@ QmlPreviewRunner::QmlPreviewRunner(ProjectExplorer::RunControl *runControl,
});
connect(&m_connectionManager, &Internal::QmlPreviewConnectionManager::restart,
runControl, [runControl]() {
runControl, [this, runControl]() {
if (!runControl->isRunning())
return;