summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qstatusbar.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-29 11:35:43 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-29 11:46:41 (GMT)
commit7fc1d12ebd103539168be590b1cde91d49a3d75b (patch)
treeec42ef894fa3e25abe581c83dc96667a3d6e9281 /src/gui/widgets/qstatusbar.cpp
parentb34d9b67fbdc6bf74f7ada972dd9b35153f47202 (diff)
downloadQt-7fc1d12ebd103539168be590b1cde91d49a3d75b.zip
Qt-7fc1d12ebd103539168be590b1cde91d49a3d75b.tar.gz
Qt-7fc1d12ebd103539168be590b1cde91d49a3d75b.tar.bz2
Do not hide the left edge of widget in statusbar
Could be caused by change d2cba538 Reviewed-by: jbache Task-number: 254083
Diffstat (limited to 'src/gui/widgets/qstatusbar.cpp')
-rw-r--r--src/gui/widgets/qstatusbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qstatusbar.cpp b/src/gui/widgets/qstatusbar.cpp
index c970838..3829bcb 100644
--- a/src/gui/widgets/qstatusbar.cpp
+++ b/src/gui/widgets/qstatusbar.cpp
@@ -144,7 +144,7 @@ QRect QStatusBarPrivate::messageRect() const
if (rtl)
left = qMax(left, item->w->x() + item->w->width() + 2);
else
- right = qMin(right, item->w->x()-1);
+ right = qMin(right, item->w->x() - 2);
}
break;
}