forked from qt-creator/qt-creator
Misc: Fix MSVC warnings
C4573: the usage of 'QObject::connect' requires the compiler to capture 'this' but the current default capture mode does not allow it and implicit conversions from size_t to int Change-Id: If9b4ba3103cadd5b2a38ba7072d05aa1488a87bb Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
9b5e642400
commit
dd0efea95d
@@ -66,7 +66,7 @@ class GitLogFilterWidget : public QToolBar
|
||||
public:
|
||||
GitLogFilterWidget(GitEditorWidget *editor)
|
||||
{
|
||||
auto addLineEdit = [](const QString &placeholder,
|
||||
auto addLineEdit = [this](const QString &placeholder,
|
||||
const QString &tooltip,
|
||||
GitEditorWidget *editor)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user