From 900058e72eb4153e1542a0abc179037c3e5f8b82 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 21 Jun 2015 11:27:16 +0100 Subject: [PATCH] Don't separately hardcode Nehrim repo settings. --- src/gui/loot_state.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/loot_state.cpp b/src/gui/loot_state.cpp index d4f2b55a..25eead24 100644 --- a/src/gui/loot_state.cpp +++ b/src/gui/loot_state.cpp @@ -395,7 +395,10 @@ namespace loot { // Add base game definitions, and Nehrim. GetGameSettings(root); - root["games"].push_back(GameSettings(GameSettings::tes4, "Nehrim").SetDetails("Nehrim - At Fate's Edge", "Nehrim.esm", "https://github.com/loot/oblivion.git", "master", "", "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Nehrim - At Fate's Edge_is1\\InstallLocation")); + + GameSettings settings(GameSettings::tes4, "Nehrim"); + + root["games"].push_back(settings.SetDetails("Nehrim - At Fate's Edge", "Nehrim.esm", settings.RepoURL(), settings.RepoBranch(), "", "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Nehrim - At Fate's Edge_is1\\InstallLocation")); return root; }