diff options
author | Michele Calgaro <[email protected]> | 2023-11-24 10:56:22 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-25 15:15:54 +0900 |
commit | 22da7013fff03b0a938a6048633369d1b2041a52 (patch) | |
tree | 25c501c5d441f3fc2b752c2961f8fc9cc43ef9cf /kaddressbook/views/cardview.cpp | |
parent | 6efcb28ef7795906d41c8bff80b0ef3dd57ae102 (diff) | |
download | tdepim-22da7013fff03b0a938a6048633369d1b2041a52.tar.gz tdepim-22da7013fff03b0a938a6048633369d1b2041a52.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3b66617d9d5f343c30a87381720db2fc835ce52b)
Diffstat (limited to 'kaddressbook/views/cardview.cpp')
-rw-r--r-- | kaddressbook/views/cardview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/views/cardview.cpp b/kaddressbook/views/cardview.cpp index 47181557f..e77d66e04 100644 --- a/kaddressbook/views/cardview.cpp +++ b/kaddressbook/views/cardview.cpp @@ -316,7 +316,7 @@ void CardViewItem::paintCard( TQPainter *p, TQColorGroup &cg ) // if we are the current item and the view has focus, draw focus rect if ( mView->currentItem() == this && mView->hasFocus() ) { - mView->style().tqdrawPrimitive( TQStyle::PE_FocusRect, p, + mView->style().drawPrimitive( TQStyle::PE_FocusRect, p, TQRect( 0, 0, mView->itemWidth(), h + (2 * mg) ), cg, TQStyle::Style_FocusAtBorder, TQStyleOption( isSelected() ? cg.highlight() : cg.base() ) ); |