Removing ProgressBars as they are performing badly on startup.

[**************************************************] 100%
R.I.P

--HG--
branch : trunk
This commit is contained in:
leak
2010-12-22 00:12:03 +01:00
parent a45a039e73
commit 6115b0bd5f
35 changed files with 94 additions and 824 deletions

View File

@@ -22,7 +22,6 @@
#include "Player.h"
#include "Util.h"
#include "SHA1.h"
#include "ProgressBar.h"
AddonMgr::AddonMgr()
{
@@ -40,20 +39,16 @@ void AddonMgr::LoadFromDB()
if (!result)
{
barGoLink bar(1);
bar.step();
sLog.outString(">> Loaded 0 known addons. DB table `addons` is empty!");
sLog.outString();
return;
}
barGoLink bar(result->GetRowCount());
uint32 count = 0;
do
{
Field *fields = result->Fetch();
bar.step();
std::string name = fields[0].GetString();
uint32 crc = fields[1].GetUInt32();