Commit 819413fc authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Marco Bubke

QML Designer: Fix build on Windows/MSVC.

Variable names should be different.

Change-Id: Ibf7c8dd95ffc59d0c02341dffa107f0a0441beaa
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent b442a026
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment