diff options
author | Michele Calgaro <[email protected]> | 2025-01-22 17:46:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-02-03 22:38:49 +0900 |
commit | 4a47c1bfffffad7094f0b5c7cef532069e088ec3 (patch) | |
tree | 31b86dd0d87816e4b31e8bc2aa7687b2e85c2e82 /src/notedrag.cpp | |
parent | 7975b08418486c2793bd61c32ee347ce6b81c687 (diff) | |
download | basket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.tar.gz basket-4a47c1bfffffad7094f0b5c7cef532069e088ec3.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/notedrag.cpp')
-rw-r--r-- | src/notedrag.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notedrag.cpp b/src/notedrag.cpp index 00d04a1..37e2337 100644 --- a/src/notedrag.cpp +++ b/src/notedrag.cpp @@ -306,7 +306,7 @@ TQPixmap NoteDrag::feedbackPixmap(NoteSelection *noteList) bgColor = node->note->basket()->backgroundColor(); needSpace = false; } else { - pixmap = node->note->content()->feedbackPixmap(/*maxWidth=*/kapp->desktop()->width() / 2, /*maxHeight=*/96); + pixmap = node->note->content()->feedbackPixmap(/*maxWidth=*/tdeApp->desktop()->width() / 2, /*maxHeight=*/96); bgColor = node->note->backgroundColor(); needSpace = node->note->content()->needSpaceForFeedbackPixmap(); } @@ -319,7 +319,7 @@ TQPixmap NoteDrag::feedbackPixmap(NoteSelection *noteList) height += (i > 0 && needSpace ? 1 : 0) + pixmap.height() + SPACING + (needSpace ? 1 : 0); if (elipsisImage) break; - if (height > kapp->desktop()->height() / 2) + if (height > tdeApp->desktop()->height() / 2) elipsisImage = true; } } |