diff options
Diffstat (limited to 'krita/core/kis_rect.cc')
-rw-r--r-- | krita/core/kis_rect.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/krita/core/kis_rect.cc b/krita/core/kis_rect.cc index 892a5e32..175a07a9 100644 --- a/krita/core/kis_rect.cc +++ b/krita/core/kis_rect.cc @@ -21,8 +21,8 @@ #include "kis_rect.h" -QRect KisRect::qRect() const +TQRect KisRect::qRect() const { - return QRect(static_cast<int>(floor(left())), static_cast<int>(floor(top())), static_cast<int>(ceil(right()) - floor(left())), static_cast<int>(ceil(bottom()) - floor(top()))); + return TQRect(static_cast<int>(floor(left())), static_cast<int>(floor(top())), static_cast<int>(ceil(right()) - floor(left())), static_cast<int>(ceil(bottom()) - floor(top()))); } |