[loading window] Should really have included this in the initial design. Now it can be indeterminate too.

This commit is contained in:
Henrik Andersson
2011-06-05 11:32:51 +02:00
parent af62e62b42
commit 167cd9238a
6 changed files with 39 additions and 11 deletions
+4 -3
View File
@@ -1101,6 +1101,10 @@ int main(int argc, char* argv[])
pLoadingWindow->SetText("Initializing statics manager...");
STATSMAN = new StatsManager;
// Initialize which courses are ranking courses here.
pLoadingWindow->SetText("Updating cource rankings...");
SONGMAN->UpdateRankingCourses();
SAFE_DELETE( pLoadingWindow ); // destroy this before init'ing Display
/* If the user has tried to quit during the loading, do it before creating
@@ -1140,9 +1144,6 @@ int main(int argc, char* argv[])
CodeDetector::RefreshCacheItems();
// Initialize which courses are ranking courses here.
SONGMAN->UpdateRankingCourses();
if( GetCommandlineArgument("netip") )
NSMAN->DisplayStartupStatus(); // If we're using networking show what happened