From: Martin Pfeiffer Date: Thu, 21 Jul 2005 14:47:59 +0000 (+0000) Subject: png export X-Git-Tag: v3.80.2~300^2~35 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=fbd933c7617199bd1461916041cecb9d3d49b234;p=libqmvoc.git png export svn path=/trunk/KDE/kdeedu/kalzium/src/spectrum.cpp; revision=437326 --- diff --git a/kalzium/src/spectrum.cpp b/kalzium/src/spectrum.cpp index 297330c..5f5c3a3 100644 --- a/kalzium/src/spectrum.cpp +++ b/kalzium/src/spectrum.cpp @@ -219,7 +219,7 @@ void SpectrumView::slotSave() if( !fileName.isEmpty() ) { Exporter* exporter = new Exporter(); - if ( !exporter->saveAsPNG( *m_spectrumWidget, fileName ) ) + if ( !exporter->saveAsPNG( &m_spectrumWidget->pixmap(), fileName ) ) KMessageBox::error( this, i18n( "The spectrum could not be saved"), i18n( "PNG could not be saved") ); delete exporter; }