-rw-r--r-- | libopie/pim/opimrecord.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/pim/opimrecord.cpp b/libopie/pim/opimrecord.cpp index ac0f4a9..d45417a 100644 --- a/libopie/pim/opimrecord.cpp +++ b/libopie/pim/opimrecord.cpp @@ -31,5 +31,5 @@ OPimRecord &OPimRecord::operator=( const OPimRecord& rec) { * category names */ -QStringList OPimRecord::categoryNames()const { +QStringList OPimRecord::categoryNames( const QString& appname ) const { QStringList list; QArray<int> cats = categories(); @@ -38,5 +38,5 @@ QStringList OPimRecord::categoryNames()const { for (uint i = 0; i < cats.count(); i++ ) { - list << catDB.label("Todo List", cats[i] ); + list << catDB.label( appname, cats[i] ); } |