summaryrefslogtreecommitdiffstats
path: root/src/notedrag.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-22 17:46:54 +0900
committerMichele Calgaro <[email protected]>2025-02-03 22:38:49 +0900
commit4a47c1bfffffad7094f0b5c7cef532069e088ec3 (patch)
tree31b86dd0d87816e4b31e8bc2aa7687b2e85c2e82 /src/notedrag.cpp
parent7975b08418486c2793bd61c32ee347ce6b81c687 (diff)
downloadbasket-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.cpp4
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;
}
}