From 2c9731e39aba5ebc73f6af186d194671fa1816e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Jacob?= Date: Fri, 16 Mar 2007 12:34:11 +0000 Subject: [PATCH] fix compile (KParts API recently changed) svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=643124 --- libscience/compoundviewer/kalziumglpart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.47.3