diff options
author | Florian Jung <flo@windfisch.org> | 2011-09-01 17:30:59 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-09-01 17:30:59 +0000 |
commit | 46369b4c33d841aa1ece363c3deb3775658165ad (patch) | |
tree | 73f923e0ee3d6d103957a507372ed3ad2666422d /muse2/awl | |
parent | e64c6677de790368781f7d9f1ba1c98bcfc521d2 (diff) | |
parent | 1414d8185ca9bc0b078cff7512482f013e28bde3 (diff) |
merged with trunk
Diffstat (limited to 'muse2/awl')
-rw-r--r-- | muse2/awl/posedit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/awl/posedit.cpp b/muse2/awl/posedit.cpp index 6ca49566..07741e58 100644 --- a/muse2/awl/posedit.cpp +++ b/muse2/awl/posedit.cpp @@ -70,7 +70,8 @@ PosEdit::~PosEdit() QSize PosEdit::sizeHint() const { - QFontMetrics fm(font()); + //QFontMetrics fm(font()); + QFontMetrics fm = fontMetrics(); int fw = style()->pixelMetric(QStyle::PM_SpinBoxFrameWidth); int h = fm.height() + fw * 2; int w = fw * 4 + 10; // HACK: 10 = spinbox up/down arrows |