diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-17 22:47:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-17 22:47:21 +0000 |
commit | 36842ec5f5507efba80d8ab692a4bc16ff8712ea (patch) | |
tree | 67b95fd26cfd5cc123c599db99c5d321e6a5df4a /kdeui | |
parent | d908d37c4efd960901e2a415f79cdd47ff2b1f55 (diff) | |
download | tdelibs-36842ec5f5507efba80d8ab692a4bc16ff8712ea.tar.gz tdelibs-36842ec5f5507efba80d8ab692a4bc16ff8712ea.zip |
TQt compilation fix
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215178 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui')
-rw-r--r-- | kdeui/kaccelgen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeui/kaccelgen.h b/kdeui/kaccelgen.h index 382320a15..696f85cda 100644 --- a/kdeui/kaccelgen.h +++ b/kdeui/kaccelgen.h @@ -187,7 +187,7 @@ generate(Iter begin, Iter end, TQStringList& target) // Check word-starting letters first. for( j=0; j < item.length(); ++j ) { if( isLegalAccelerator(item, j) - && !used_accels.contains(item[j]) + && !used_accels.tqcontains(item[j]) && (0 == j || (j > 0 && item[j-1].isSpace())) ) { found = true; found_idx = j; @@ -199,7 +199,7 @@ generate(Iter begin, Iter end, TQStringList& target) // No word-starting letter; search for any letter. for( j=0; j < item.length(); ++j ) { if( isLegalAccelerator(item, j) - && !used_accels.contains(item[j]) ) { + && !used_accels.tqcontains(item[j]) ) { found = true; found_idx = j; break; |