diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2019-10-07 14:32:35 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2019-10-07 13:17:34 +0000 |
commit | 0b1e6599c909cfa05e6fbdad7ef1940ddb146012 (patch) | |
tree | 1a39bc70cc44f17f5b13e88e62f439db3af5a11c /src/plugins/debugger/debuggerplugin.cpp | |
parent | ef9085b310c987d62672a3c4681061093da2fe72 (diff) |
Debugger: Fix MSVC warning
Using QObject::connect without capturing 'this'.
Change-Id: I64e61e897760002888d7a11771bd2dc36e640c72
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 50ac0504a7..e37c0df132 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -836,7 +836,7 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments) vbox->insertWidget(0, label); }; - const auto addFontSizeAdaptation = [](QWidget *widget) { + const auto addFontSizeAdaptation = [this](QWidget *widget) { QObject::connect(TextEditorSettings::instance(), &TextEditorSettings::fontSettingsChanged, [widget](const FontSettings &settings) { if (!boolSetting(FontSizeFollowsEditor)) |