diff options
author | Tim E. Real <termtech@rogers.com> | 2010-10-26 22:30:37 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2010-10-26 22:30:37 +0000 |
commit | b5a9f51073ba4e3c166f9229cd596f22878acafc (patch) | |
tree | 2f2bd80dd09f6391166ef35c2521eb2651ade4c1 /muse2/muse/widgets/poslabel.cpp | |
parent | 1b5734729f893636653693776da29c6f391d3439 (diff) |
See ChangeLog
Diffstat (limited to 'muse2/muse/widgets/poslabel.cpp')
-rw-r--r-- | muse2/muse/widgets/poslabel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/muse2/muse/widgets/poslabel.cpp b/muse2/muse/widgets/poslabel.cpp index 3066b640..e71fea49 100644 --- a/muse2/muse/widgets/poslabel.cpp +++ b/muse2/muse/widgets/poslabel.cpp @@ -32,7 +32,8 @@ PosLabel::PosLabel(QWidget* parent, const char* name) setFrameStyle(WinPanel | Sunken); setLineWidth(2); setMidLineWidth(3); - int fw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth, 0, this); // ddskrjo 0 + //int fw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth, 0, this); // ddskrjo 0 + int fw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth); setIndent(fw); updateValue(); } @@ -44,7 +45,8 @@ PosLabel::PosLabel(QWidget* parent, const char* name) QSize PosLabel::sizeHint() const { QFontMetrics fm(font()); - int fw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth, 0, this); // ddskrjo 0 + //int fw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth, 0, this); // ddskrjo 0 + int fw = style()->pixelMetric(QStyle::PM_DefaultFrameWidth); int h = fm.height() + fw * 2; int w; if (_smpte) |