summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_selection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_selection.cc')
-rw-r--r--chalk/core/kis_selection.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chalk/core/kis_selection.cc b/chalk/core/kis_selection.cc
index 10e96a05..b5cd8e6e 100644
--- a/chalk/core/kis_selection.cc
+++ b/chalk/core/kis_selection.cc
@@ -204,9 +204,9 @@ void KisSelection::startCachingExactRect()
void KisSelection::paintUniformSelectionRegion(TQImage img, const TQRect& imageRect, const TQRegion& uniformRegion)
{
Q_ASSERT(img.size() == imageRect.size());
- Q_ASSERT(imageRect.tqcontains(uniformRegion.boundingRect()));
+ Q_ASSERT(imageRect.contains(uniformRegion.boundingRect()));
- if (img.isNull() || img.size() != imageRect.size() || !imageRect.tqcontains(uniformRegion.boundingRect())) {
+ if (img.isNull() || img.size() != imageRect.size() || !imageRect.contains(uniformRegion.boundingRect())) {
return;
}