summaryrefslogtreecommitdiff
path: root/src/gui/widgets/resizegrip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/resizegrip.cpp')
-rw-r--r--src/gui/widgets/resizegrip.cpp4
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
{