From ca58a3cced99fc2a8989da0155c1927bc0f08b6f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Jul 2011 04:36:59 +0300 Subject: Replace some getters to direct member access in Image class. --- src/gui/widgets/resizegrip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/resizegrip.cpp') diff --git a/src/gui/widgets/resizegrip.cpp b/src/gui/widgets/resizegrip.cpp index f477e51a8..861dde29e 100644 --- a/src/gui/widgets/resizegrip.cpp +++ b/src/gui/widgets/resizegrip.cpp @@ -52,8 +52,8 @@ ResizeGrip::ResizeGrip(const std::string &image) if (gripImage) { - setWidth(gripImage->getWidth() + 2); - setHeight(gripImage->getHeight() + 2); + setWidth(gripImage->mBounds.w + 2); + setHeight(gripImage->mBounds.h + 2); } else { -- cgit v1.2.3-70-g09d2