From 586ae0425f6df77ed15f1edf77695bbf58a7e9ae Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Mon, 11 Mar 2019 13:04:31 -0700 Subject: [PATCH] Fixed compiler warning. --- common/lc_mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lc_mainwindow.cpp b/common/lc_mainwindow.cpp index f01326c1..c3bc6967 100644 --- a/common/lc_mainwindow.cpp +++ b/common/lc_mainwindow.cpp @@ -1292,7 +1292,7 @@ void lcMainWindow::RestoreTabLayout(const QByteArray& TabLayout) QWidget* ActiveWidget = nullptr; - std::function LoadWidget = [&DataStream, &LoadWidget, Model, &ActiveWidget, this](QWidget* ParentWidget) + std::function LoadWidget = [&DataStream, &LoadWidget, &ActiveWidget, this](QWidget* ParentWidget) { qint32 WidgetType; DataStream >> WidgetType;