From: Carsten Niehaus Date: Mon, 18 Jul 2005 09:28:35 +0000 (+0000) Subject: Change back to the Show/Hide-notation to make the menu X-Git-Tag: v3.80.2~300^2~54 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=ff22ebc213dbe384b954d4015666e7c29a4517d2;p=libqmvoc.git Change back to the Show/Hide-notation to make the menu consistent. CCBUG:109080 svn path=/trunk/KDE/kdeedu/kalzium/src/spectrum.cpp; revision=435803 --- diff --git a/kalzium/src/spectrum.cpp b/kalzium/src/spectrum.cpp index 2893620..fa8cc5a 100644 --- a/kalzium/src/spectrum.cpp +++ b/kalzium/src/spectrum.cpp @@ -127,6 +127,7 @@ SpectrumWidget::~SpectrumWidget(){} void SpectrumWidget::paintEvent( QPaintEvent * /*e*/ ) { + if ( !m_spectrum ) return; QPainter p; p.begin( this ); p.fillRect( 0, 0, width(), m_realHeight, Qt::black );