diff options
Diffstat (limited to 'kalzium/src/spectrumwidget.cpp')
-rw-r--r-- | kalzium/src/spectrumwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/spectrumwidget.cpp b/kalzium/src/spectrumwidget.cpp index 2431b407..4f487e64 100644 --- a/kalzium/src/spectrumwidget.cpp +++ b/kalzium/src/spectrumwidget.cpp @@ -415,9 +415,9 @@ TQPixmap SpectrumWidget::pixmap() TQString text; if( m_type == EmissionSpectrum ) - text = i18n( "Emission spectrum of %1" ).tqarg( m_spectrum->tqparentElement()->elname() ); + text = i18n( "Emission spectrum of %1" ).tqarg( m_spectrum->parentElement()->elname() ); else - text = i18n( "Absorption spectrum of %1" ).tqarg( m_spectrum->tqparentElement()->elname() ); + text = i18n( "Absorption spectrum of %1" ).tqarg( m_spectrum->parentElement()->elname() ); TQPainter p( &tmp ); p.setPen( TQt::black ); |