author | eilers <eilers> | 2003-02-18 11:55:59 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-02-18 11:55:59 (UTC) |
commit | 00e9f7731c19604a8e79df9e935ec833fc1937f8 (patch) (unidiff) | |
tree | 7bf9b8230832e2138af7e73740b28eafc4c33101 /libopie/pim/opimrecord.cpp | |
parent | 065f26b161f6df269cfbf9c75751c09453350995 (diff) | |
download | opie-00e9f7731c19604a8e79df9e935ec833fc1937f8.zip opie-00e9f7731c19604a8e79df9e935ec833fc1937f8.tar.gz opie-00e9f7731c19604a8e79df9e935ec833fc1937f8.tar.bz2 |
Fixing categoryNames in opimrecord which was just checking for Todo List
Now we get the categories in addressbook, too !
-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 | |||
@@ -32,3 +32,3 @@ OPimRecord &OPimRecord::operator=( const OPimRecord& rec) { | |||
32 | */ | 32 | */ |
33 | QStringList OPimRecord::categoryNames()const { | 33 | QStringList OPimRecord::categoryNames( const QString& appname ) const { |
34 | QStringList list; | 34 | QStringList list; |
@@ -39,3 +39,3 @@ QStringList OPimRecord::categoryNames()const { | |||
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 | } |