]> git.cworth.org Git - apitrace/commit
Don't generate the search string on thousands of hidden calls.
authorZack Rusin <zack@kde.org>
Sun, 24 Apr 2011 19:54:33 +0000 (15:54 -0400)
committerZack Rusin <zack@kde.org>
Sun, 24 Apr 2011 19:54:33 +0000 (15:54 -0400)
commite37bf9fd12f692c65063ac35107f4bc582e32c30
tree59c301b0007eb6aa7904ba2b8f14aad81d939f77
parent55e43ae258daed8fcc18adc56304a95fcb523e21
Don't generate the search string on thousands of hidden calls.

ApiTraceCall::filterText genrates a string composed of the name plus
all the arguments to use when searching, but thousands of calls are
hidden by our default filter model which means that we were generating
megs of strings data without ever using them. the patch fixes that
gui/mainwindow.cpp