-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) { | |||
31 | * category names | 31 | * category names |
32 | */ | 32 | */ |
33 | QStringList OPimRecord::categoryNames()const { | 33 | QStringList OPimRecord::categoryNames( const QString& appname ) const { |
34 | QStringList list; | 34 | QStringList list; |
35 | QArray<int> cats = categories(); | 35 | QArray<int> cats = categories(); |
@@ -38,5 +38,5 @@ QStringList OPimRecord::categoryNames()const { | |||
38 | 38 | ||
39 | for (uint i = 0; i < cats.count(); i++ ) { | 39 | for (uint i = 0; i < cats.count(); i++ ) { |
40 | list << catDB.label("Todo List", cats[i] ); | 40 | list << catDB.label( appname, cats[i] ); |
41 | } | 41 | } |
42 | 42 | ||