From f3c78f22c909229665c1a42642719e5910ce0926 Mon Sep 17 00:00:00 2001 From: kelteseth Date: Thu, 2 Nov 2017 19:02:55 +0100 Subject: [PATCH] Fix order --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 24ff27ee..4c17d7f3 100644 --- a/main.cpp +++ b/main.cpp @@ -60,12 +60,12 @@ int main(int argc, char* argv[]) PackageFileHandler packageFileHandler; ProfileListModel profileListModel; SteamWorkshopListModel steamWorkshopListModel; - SteamWorkshop steamWorkshop; // Create settings in the end because for now it depends on // such things as the profile list model to complete // It will also set the m_absoluteStoragePath in profileListModel and installedListModel Settings settings(&profileListModel, &monitorListModel, &installedListModel, steamID); + SteamWorkshop steamWorkshop(steamID,&steamWorkshopListModel,&settings); // All the list need the default path from the settings // to know where to look for the files