Mercurial > hg > svgui
diff view/Pane.cpp @ 549:e6122e4999a3
* Add time display format preference
author | Chris Cannam |
---|---|
date | Fri, 25 Sep 2009 12:02:22 +0000 |
parents | 0db823c49ed6 |
children | c2ba2796cbee |
line wrap: on
line diff
--- a/view/Pane.cpp Wed Sep 23 11:22:13 2009 +0000 +++ b/view/Pane.cpp Fri Sep 25 12:02:22 2009 +0000 @@ -745,7 +745,8 @@ QString text(QString::fromStdString (RealTime::frame2RealTime - (m_centreFrame, sampleRate).toText(true))); + (m_centreFrame, sampleRate) + .toText(true))); int tw = paint.fontMetrics().width(text); int x = width()/2 - 4 - tw;