From: Patrick Spendrin Date: Sat, 28 Jul 2012 23:11:21 +0000 (+0200) Subject: msvc needs to have the class definition for reference parameters in methods X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c62146f9ffa824cf619247c6482a1d4a89349a7c?ds=inline msvc needs to have the class definition for reference parameters in methods --- diff --git a/src/kitemviews/kfileitemmodelrolesupdater.cpp b/src/kitemviews/kfileitemmodelrolesupdater.cpp index 55f5142f6..8276d807f 100644 --- a/src/kitemviews/kfileitemmodelrolesupdater.cpp +++ b/src/kitemviews/kfileitemmodelrolesupdater.cpp @@ -610,8 +610,10 @@ void KFileItemModelRolesUpdater::applyChangedNepomukRoles(const Nepomuk::Resourc connect(m_model, SIGNAL(itemsChanged(KItemRangeList,QSet)), this, SLOT(slotItemsChanged(KItemRangeList,QSet))); #else +#ifndef Q_CC_MSVC Q_UNUSED(resource); #endif +#endif } void KFileItemModelRolesUpdater::slotDirWatchDirty(const QString& path)