Mercurial > hg > svgui
changeset 549:e6122e4999a3
* Add time display format preference
author | Chris Cannam |
---|---|
date | Fri, 25 Sep 2009 12:02:22 +0000 |
parents | 265898470c53 |
children | d666f5f8b154 |
files | view/Pane.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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;