# HG changeset patch # User Chris Cannam # Date 1253880142 0 # Node ID e6122e4999a302b9cf19f74a85e1fd6dfeb2ee53 # Parent 265898470c5379d60acae5fe87dc3134770a4c20 * Add time display format preference diff -r 265898470c53 -r e6122e4999a3 view/Pane.cpp --- 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;