# HG changeset patch # User Chris Cannam # Date 1373978581 -3600 # Node ID 12e6efc8cdc0a88a326ea1b42d0de31e926ef53e # Parent ab9fefdaa103771361af4703809acb939573f83d# Parent 7cb6112c59ca1e4161876dca31adcb00f77c6d6b Merge diff -r ab9fefdaa103 -r 12e6efc8cdc0 view/Pane.cpp --- a/view/Pane.cpp Tue Jul 16 13:38:53 2013 +0100 +++ b/view/Pane.cpp Tue Jul 16 13:43:01 2013 +0100 @@ -1120,7 +1120,6 @@ if (m_manager && m_manager->shouldShowVerticalScale()) { for (LayerList::iterator vi = m_layers.end(); vi != m_layers.begin(); ) { --vi; - QPainter paint(image); sw = (*vi)->getVerticalScaleWidth (this, m_manager->shouldShowVerticalColourScale(), paint); break;