From: BenoƮt Jacob Date: Fri, 16 Mar 2007 12:34:11 +0000 (+0000) Subject: fix compile (KParts API recently changed) X-Git-Tag: v3.90.1~28 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=2c9731e39aba5ebc73f6af186d194671fa1816e5;p=libqmvoc.git fix compile (KParts API recently changed) svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=643124 --- diff --git a/libscience/compoundviewer/kalziumglpart.cpp b/libscience/compoundviewer/kalziumglpart.cpp index 009eed1..1069f17 100644 --- a/libscience/compoundviewer/kalziumglpart.cpp +++ b/libscience/compoundviewer/kalziumglpart.cpp @@ -50,7 +50,7 @@ KAboutData *KalziumGLPart::createAboutData() bool KalziumGLPart::openFile() { - OpenBabel::OBMol* mol = OpenBabel2Wrapper::readMolecule( m_url.path() ); + OpenBabel::OBMol* mol = OpenBabel2Wrapper::readMolecule( url().path() ); mol->Center(); m_widget->slotSetMolecule( mol );