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;
|
||||
}
|
||||
|
||||
static QWidget *createTopSideBarWidget(const QList<WidgetInfo> &widgetInfo)
|
||||
static QWidget *createTopSideBarWidget(const QList<WidgetInfo> &widgetInfos)
|
||||
{
|
||||
//### we now own these here
|
||||
QList<WidgetInfo> topWidgetInfos;
|
||||
foreach (const WidgetInfo &widgetInfo, widgetInfo) {
|
||||
foreach (const WidgetInfo &widgetInfo, widgetInfos) {
|
||||
if (widgetInfo.placementHint == widgetInfo.TopPane)
|
||||
topWidgetInfos.append(widgetInfo);
|
||||
}
|
||||
@@ -539,10 +539,10 @@ static QWidget *createTopSideBarWidget(const QList<WidgetInfo> &widgetInfo)
|
||||
return createWidgetsInTabWidget(topWidgetInfos);
|
||||
}
|
||||
|
||||
static Core::MiniSplitter *createCentralSplitter(const QList<WidgetInfo> &widgetInfo)
|
||||
static Core::MiniSplitter *createCentralSplitter(const QList<WidgetInfo> &widgetInfos)
|
||||
{
|
||||
QList<WidgetInfo> centralWidgetInfos;
|
||||
foreach (const WidgetInfo &widgetInfo, widgetInfo) {
|
||||
foreach (const WidgetInfo &widgetInfo, widgetInfos) {
|
||||
if (widgetInfo.placementHint == widgetInfo.CentralPane)
|
||||
centralWidgetInfos.append(widgetInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user