Fix some kdeedu build problems

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1258254 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 2d32173ea8
commit b850ef000c

@ -50,7 +50,7 @@ if test "x$with_ocamlsolver" != xno; then
EQCHEM_SUB=solver
OCAMLLIB=`ocamlc -where`
FACILELIB=`ocamlc -where`/facile
EQCHEM_LDADD="-lasmrun -lstr -lnums -lm -ldl solver.o modwrap.o"
EQCHEM_LDADD="-lasmrun -lnums -lm -ldl solver.o modwrap.o"
AC_DEFINE(HAVE_FACILE, 1)
fi

@ -39,7 +39,8 @@ void SpectrumViewImpl::slotExportAsImage()
this, i18n( "Save Spectrum" ) );
if( !fileName.isEmpty() )
{
if ( !exporter->saveAsImage( &m_spectrumWidget->pixmap(), fileName ) )
TQPixmap swpm = m_spectrumWidget->pixmap();
if ( !exporter->saveAsImage( &swpm, fileName ) )
KMessageBox::error( this, i18n( "The spectrum could not be saved" ), i18n( "Image Could Not Be Saved") );
}
delete exporter;

Loading…
Cancel
Save