summaryrefslogtreecommitdiffstats
path: root/logic/IconListModel.cpp
diff options
context:
space:
mode:
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)
{