--- hydrogen-0.9.2.orig/src/gui/SongEditor/SongEditor.cpp	2005-07-11 23:15:11.000000000 +0200
+++ hydrogen-0.9.2/src/gui/SongEditor/SongEditor.cpp	2005-11-20 19:48:37.000000000 +0100
@@ -1087,7 +1087,7 @@
 
 
 
-SongEditorPositionRuler::SongEditorPositionRuler( QWidget *parent ) : QWidget( parent ), Object( "SongEditPosRuler" )
+SongEditorPositionRuler::SongEditorPositionRuler( QWidget *parent ) : QWidget( parent , "SongEditorPositionRuler", Qt::WRepaintNoErase | Qt::WResizeNoErase ), Object( "SongEditPosRuler" )
 {
 	m_bChanged = true;
 	this->resize( m_nInitialWidth, m_nHeight );
@@ -1214,14 +1214,12 @@
 
 	if (m_bChanged) {
 		m_bChanged = false;
-		bitBlt( &m_tempPixmap, 0, 0, &m_backgroundPixmap, 0, 0, m_nInitialWidth, m_nHeight, CopyROP );
+		bitBlt( this, 0, 0, &m_backgroundPixmap, 0, 0, m_nInitialWidth, m_nHeight, CopyROP );
 
 		if (fPos != -1) {
 			uint x = 10 + fPos * SONG_EDITOR_GRID_WIDTH - 11 / 2;
-			bitBlt( &m_tempPixmap, x, height() / 2, &m_tickPositionPixmap, 0, 0, 11, 8, CopyROP );
+			bitBlt( this, x, height() / 2, &m_tickPositionPixmap, 0, 0, 11, 8, CopyROP );
 		}
-
-		setErasePixmap( m_tempPixmap );
 	}
 }
 

