summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <gladhorn@kde.org>2016-09-06 22:17:46 (GMT)
committerFrederik Gladhorn <gladhorn@kde.org>2016-09-06 22:20:04 (GMT)
commit7b8463c8ea363054cf967cc3b45839a019fe96d9 (patch)
tree2c6cabcc6e504f720a24f7ebe73d967805a77191
parent93bc279101e42b768a76e3ff43b524c4a0740be7 (diff)
Add emit keyword to signal emission
While this has no effect, it makes it easier to understand how the result of the scaling is used.
-rw-r--r--lib/imagescaler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imagescaler.cpp b/lib/imagescaler.cpp
index 0bff929..15e9913 100644
--- a/lib/imagescaler.cpp
+++ b/lib/imagescaler.cpp
@@ -206,7 +206,7 @@ void ImageScaler::scaleRect(const QRect& rect)
);
}
- scaledRect(destRect.left() + destLeftMargin, destRect.top() + destTopMargin, tmp);
+ emit scaledRect(destRect.left() + destLeftMargin, destRect.top() + destTopMargin, tmp);
}
} // namespace