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
@@ -472,7 +472,7 @@ BinEditorFactory::BinEditorFactory()
|
||||
setDisplayName(QCoreApplication::translate("OpenWith::Editors", Constants::C_BINEDITOR_DISPLAY_NAME));
|
||||
addMimeType(Constants::C_BINEDITOR_MIMETYPE);
|
||||
|
||||
setEditorCreator([] {
|
||||
setEditorCreator([this] {
|
||||
auto widget = new BinEditorWidget();
|
||||
auto editor = new BinEditor(widget);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user