aboutsummaryrefslogtreecommitdiff
path: root/xbmc/profiles/windows/GUIWindowSettingsProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/profiles/windows/GUIWindowSettingsProfile.cpp')
-rw-r--r--xbmc/profiles/windows/GUIWindowSettingsProfile.cpp25
1 files changed, 13 insertions, 12 deletions
diff --git a/xbmc/profiles/windows/GUIWindowSettingsProfile.cpp b/xbmc/profiles/windows/GUIWindowSettingsProfile.cpp
index 2d9f8fb51e..ea90b575f8 100644
--- a/xbmc/profiles/windows/GUIWindowSettingsProfile.cpp
+++ b/xbmc/profiles/windows/GUIWindowSettingsProfile.cpp
@@ -7,24 +7,25 @@
*/
#include "GUIWindowSettingsProfile.h"
-#include "windows/GUIWindowFileManager.h"
-#include "profiles/Profile.h"
-#include "profiles/ProfileManager.h"
+
+#include "FileItem.h"
+#include "ServiceBroker.h"
#include "dialogs/GUIDialogContextMenu.h"
#include "dialogs/GUIDialogSelect.h"
-#include "profiles/dialogs/GUIDialogProfileSettings.h"
-#include "messaging/ApplicationMessenger.h"
-#include "utils/URIUtils.h"
+#include "filesystem/Directory.h"
#include "guilib/GUIComponent.h"
#include "guilib/GUIMessage.h"
#include "guilib/GUIWindowManager.h"
-#include "filesystem/Directory.h"
-#include "FileItem.h"
-#include "ServiceBroker.h"
-#include "input/Key.h"
#include "guilib/LocalizeStrings.h"
+#include "input/Key.h"
+#include "messaging/ApplicationMessenger.h"
+#include "profiles/Profile.h"
+#include "profiles/ProfileManager.h"
+#include "profiles/dialogs/GUIDialogProfileSettings.h"
#include "settings/SettingsComponent.h"
+#include "utils/URIUtils.h"
#include "utils/Variant.h"
+#include "windows/GUIWindowFileManager.h"
using namespace KODI;
using namespace XFILE;
@@ -238,7 +239,7 @@ bool CGUIWindowSettingsProfile::GetAutoLoginProfileChoice(int &iProfile)
CFileItemList items;
CFileItemPtr item(new CFileItem());
item->SetLabel(g_localizeStrings.Get(37014)); // Last used profile
- item->SetIconImage("DefaultUser.png");
+ item->SetArt("icon", "DefaultUser.png");
items.Add(item);
for (unsigned int i = 0; i < profileManager->GetNumberOfProfiles(); i++)
@@ -250,7 +251,7 @@ bool CGUIWindowSettingsProfile::GetAutoLoginProfileChoice(int &iProfile)
std::string thumb = profile->getThumb();
if (thumb.empty())
thumb = "DefaultUser.png";
- item->SetIconImage(thumb);
+ item->SetArt("icon", thumb);
items.Add(item);
}