diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-02 04:36:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-02 04:37:42 +0300 |
commit | ca58a3cced99fc2a8989da0155c1927bc0f08b6f (patch) | |
tree | c8fc16ac2c5c0a9184c17c2920266b96934ed28f /src/gui/widgets/resizegrip.cpp | |
parent | d4dd89e72f8b1e2c0517981f7e3ffac4a040f9fa (diff) | |
download | mv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.gz mv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.bz2 mv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.tar.xz mv-ca58a3cced99fc2a8989da0155c1927bc0f08b6f.zip |
Replace some getters to direct member access in Image class.
Diffstat (limited to 'src/gui/widgets/resizegrip.cpp')
-rw-r--r-- | src/gui/widgets/resizegrip.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |