1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-23 03:02:30 +01:00

Fix order

This commit is contained in:
kelteseth 2017-11-02 19:02:55 +01:00
parent 9200923691
commit f3c78f22c9

View File

@ -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