From 0ad362c94cc9fb4181b1643799a82ec8b7fa0afe Mon Sep 17 00:00:00 2001 From: Carlo Segato Date: Thu, 29 Apr 2010 22:24:25 +0000 Subject: [PATCH] don't call both variable info, this doesn't work under msvc svn path=/trunk/KDE/kdebase/workspace/; revision=1120767 --- appinterface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/appinterface.cpp b/appinterface.cpp index 1cc26134b..f7bf618a6 100644 --- a/appinterface.cpp +++ b/appinterface.cpp @@ -106,9 +106,9 @@ bool AppInterface::hasBattery() const QStringList AppInterface::knownWidgetTypes() const { QStringList widgets; - KPluginInfo::List info = Plasma::Applet::listAppletInfo(); + KPluginInfo::List infoLs = Plasma::Applet::listAppletInfo(); - foreach (const KPluginInfo &info, info) { + foreach (const KPluginInfo &info, infoLs) { widgets.append(info.pluginName()); } @@ -128,9 +128,9 @@ QStringList AppInterface::knownPanelTypes() const QStringList AppInterface::knownContainmentTypes(const QString &type) const { QStringList containments; - KPluginInfo::List info = Plasma::Containment::listContainmentsOfType(type); + KPluginInfo::List infoLs = Plasma::Containment::listContainmentsOfType(type); - foreach (const KPluginInfo &info, info) { + foreach (const KPluginInfo &info, infoLs) { containments.append(info.pluginName()); }