forked from qt-creator/qt-creator
QML Designer: Fix build on Windows/MSVC.
Variable names should be different. Change-Id: Ibf7c8dd95ffc59d0c02341dffa107f0a0441beaa Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
committed by
Marco Bubke
parent
b442a02602
commit
819413fc23
@@ -524,11 +524,11 @@ static QWidget *createWidgetsInTabWidget(const QList<WidgetInfo> &widgetInfos)
|
|||||||
return tabWidget;
|
return tabWidget;
|
||||||
}
|
}
|
||||||
|
|
||||||
static QWidget *createTopSideBarWidget(const QList<WidgetInfo> &widgetInfo)
|
static QWidget *createTopSideBarWidget(const QList<WidgetInfo> &widgetInfos)
|
||||||
{
|
{
|
||||||
//### we now own these here
|
//### we now own these here
|
||||||
QList<WidgetInfo> topWidgetInfos;
|
QList<WidgetInfo> topWidgetInfos;
|
||||||
foreach (const WidgetInfo &widgetInfo, widgetInfo) {
|
foreach (const WidgetInfo &widgetInfo, widgetInfos) {
|
||||||
if (widgetInfo.placementHint == widgetInfo.TopPane)
|
if (widgetInfo.placementHint == widgetInfo.TopPane)
|
||||||
topWidgetInfos.append(widgetInfo);
|
topWidgetInfos.append(widgetInfo);
|
||||||
}
|
}
|
||||||
@@ -539,10 +539,10 @@ static QWidget *createTopSideBarWidget(const QList<WidgetInfo> &widgetInfo)
|
|||||||
return createWidgetsInTabWidget(topWidgetInfos);
|
return createWidgetsInTabWidget(topWidgetInfos);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Core::MiniSplitter *createCentralSplitter(const QList<WidgetInfo> &widgetInfo)
|
static Core::MiniSplitter *createCentralSplitter(const QList<WidgetInfo> &widgetInfos)
|
||||||
{
|
{
|
||||||
QList<WidgetInfo> centralWidgetInfos;
|
QList<WidgetInfo> centralWidgetInfos;
|
||||||
foreach (const WidgetInfo &widgetInfo, widgetInfo) {
|
foreach (const WidgetInfo &widgetInfo, widgetInfos) {
|
||||||
if (widgetInfo.placementHint == widgetInfo.CentralPane)
|
if (widgetInfo.placementHint == widgetInfo.CentralPane)
|
||||||
centralWidgetInfos.append(widgetInfo);
|
centralWidgetInfos.append(widgetInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user