Fixed compiler warning.

This commit is contained in:
Leonardo Zide 2019-03-11 13:04:31 -07:00
parent d598134eb1
commit 586ae0425f

View file

@ -1292,7 +1292,7 @@ void lcMainWindow::RestoreTabLayout(const QByteArray& TabLayout)
QWidget* ActiveWidget = nullptr; QWidget* ActiveWidget = nullptr;
std::function<void(QWidget*)> LoadWidget = [&DataStream, &LoadWidget, Model, &ActiveWidget, this](QWidget* ParentWidget) std::function<void(QWidget*)> LoadWidget = [&DataStream, &LoadWidget, &ActiveWidget, this](QWidget* ParentWidget)
{ {
qint32 WidgetType; qint32 WidgetType;
DataStream >> WidgetType; DataStream >> WidgetType;