summaryrefslogtreecommitdiffstats
path: root/logic/IconListModel.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-08-24 03:09:46 +0200
committerPetr Mrázek <peterix@gmail.com>2013-08-24 03:09:46 +0200
commite3b55067eb51ee82e72b41a1919406d768e00b89 (patch)
treea22158bc63242191463d450d1a3f37eeb37bba5b /logic/IconListModel.cpp
parentb78123166627139777fbd206866ee0d1c8bcd040 (diff)
downloadMultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.gz
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.lz
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.xz
MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.zip
Legacy jar reassembly, base of proper custom jar support
Diffstat (limited to 'logic/IconListModel.cpp')
-rw-r--r--logic/IconListModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/IconListModel.cpp b/logic/IconListModel.cpp
index 2d2fb6cf..b531df43 100644
--- a/logic/IconListModel.cpp
+++ b/logic/IconListModel.cpp
@@ -39,8 +39,8 @@ IconList::IconList() : QAbstractListModel(), d(new Private())
}
// FIXME: get from settings
- ensurePathExists("icons/");
- QDir user_icons("icons/");
+ ensureFolderPathExists("icons");
+ QDir user_icons("icons");
file_info_list = user_icons.entryInfoList(QDir::Files, QDir::Name);
for(auto file_info: file_info_list)
{