Fix a bug : Categories were not translated in GridAccount

This commit is contained in:
Grégory Soutadé 2012-03-20 14:50:37 +01:00
parent 223106fbfc
commit 391dc12304
2 changed files with 6 additions and 3 deletions

5
TODO
View File

@ -4,12 +4,13 @@ Using tabulation to navigate throw interface (Search Panel)
Windows version
Choosing accounts & categories position
Cool for 0.3:
Cool for 0.4:
Database auto saving at startup
Use caches for created panels (avoid destroying/creating panels for nothing)
Add search function to web view
Need optimizations by caching operations and categories (using hastables)
Packaging for more distributions
Optimizations in GridAccount (Add/Delete operation / multiple operations)
===============================================================
Next version
@ -36,3 +37,5 @@ it's not taken in account by UpdateStats
it will not be displayed. In this case we must load whole meta.
This bug can't be resolved without use of hashtable because of
complexity in searching this issue.
* Français not correctly spelled (cause UTF-8) in StatsPanel

View File

@ -115,7 +115,7 @@ GridAccount::GridAccount(KissCount* kiss, QWidget *parent,
categoryIt != user->_categories.end();
categoryIt++, i++)
{
_categories[i] = categoryIt->name ;
_categories[i] = _(categoryIt->name.toStdString().c_str()) ;
}
resizeColumnToContents(TREE);