diff options
Diffstat (limited to 'kaddressbook/printing/mikesstyle.cpp')
-rw-r--r-- | kaddressbook/printing/mikesstyle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/printing/mikesstyle.cpp b/kaddressbook/printing/mikesstyle.cpp index 63cfdcfd0..2301bb16c 100644 --- a/kaddressbook/printing/mikesstyle.cpp +++ b/kaddressbook/printing/mikesstyle.cpp @@ -226,14 +226,14 @@ int MikesStyle::calcHeight( const KABC::Addressee &addr, // Determine which half of the fields is higher for ( int i = 0; i < numFields / 2; i++ ) - halfHeight += fm.height() * (fieldList[ i ]->value( addr ).tqcontains( '\n' ) + 1); + halfHeight += fm.height() * (fieldList[ i ]->value( addr ).contains( '\n' ) + 1); height = halfHeight; // now the second half halfHeight = 0; for ( int i = numFields / 2; i < numFields; i++ ) - halfHeight += fm.height() * (fieldList[ i ]->value( addr ).tqcontains( '\n' ) + 1); + halfHeight += fm.height() * (fieldList[ i ]->value( addr ).contains( '\n' ) + 1); height = TQMAX( height, halfHeight ); |