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;