diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-11-19 09:48:28 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-11-19 10:00:18 +0100 |
commit | 3d1d9aae2e977ef599582074e0f4faaef454a595 (patch) | |
tree | 8cd2aaba4d0ba10c46abd6ce5c10a349d2889e75 /src/plugins/debugger/sourcefileshandler.cpp | |
parent | 40ad7ec995332b043ead31ee0739f04dd7ac0e90 (diff) | |
parent | e164717108176ee1423f3f629a8182520c2909d1 (diff) | |
download | qt-creator-3d1d9aae2e977ef599582074e0f4faaef454a595.tar.gz |
Merge remote-tracking branch 'origin/4.8'
Conflicts:
src/plugins/winrt/winrtdevicefactory.cpp
Change-Id: I33b8697e2ebf2bea051d7f1144449e0743ee16a5
Diffstat (limited to 'src/plugins/debugger/sourcefileshandler.cpp')
-rw-r--r-- | src/plugins/debugger/sourcefileshandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/sourcefileshandler.cpp b/src/plugins/debugger/sourcefileshandler.cpp index f99372fb64..eec9a4cca5 100644 --- a/src/plugins/debugger/sourcefileshandler.cpp +++ b/src/plugins/debugger/sourcefileshandler.cpp @@ -121,7 +121,7 @@ bool SourceFilesHandler::setData(const QModelIndex &idx, const QVariant &data, i QModelIndex index = idx.sibling(idx.row(), 0); QString name = index.data().toString(); - auto addAction = [menu](const QString &display, bool on, const std::function<void()> &onTriggered) { + auto addAction = [this, menu](const QString &display, bool on, const std::function<void()> &onTriggered) { QAction *act = menu->addAction(display); act->setEnabled(on); QObject::connect(act, &QAction::triggered, onTriggered); |