From: Peter Penz Date: Tue, 20 Mar 2007 19:34:39 +0000 (+0000) Subject: "fixed" crash when Nepomuk is not used (the crash occurs when going into a directory) X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/72d4a92e1045e7340e4f65e9e62a68bd2d442cd1 "fixed" crash when Nepomuk is not used (the crash occurs when going into a directory) svn path=/trunk/KDE/kdebase/apps/; revision=644721 --- diff --git a/src/metadatawidget.cpp b/src/metadatawidget.cpp index c9b101255..64dcfa6f3 100644 --- a/src/metadatawidget.cpp +++ b/src/metadatawidget.cpp @@ -126,8 +126,10 @@ void MetaDataWidget::setFile( const KUrl& url ) void MetaDataWidget::setFiles( const KUrl::List urls ) { +#ifdef HAVE_KMETADATA // FIXME: support multiple files setFile( urls.first() ); +#endif }