@@ -139,8 +139,8 @@ void IndicatorsModel::onIndicatorLoaded(const QString& indicator)
142− QObject::connect(plugin.get(), SIGNAL(identifierChanged(const QString&)), this, SLOT(onIdentifierChanged()));
142+ QObject::connect(plugin.data(), SIGNAL(identifierChanged(const QString&)), this, SLOT(onIdentifierChanged()));
143− QObject::connect(plugin.get(), SIGNAL(indicatorPropertiesChanged(const QVariant&)), this, SLOT(onIndicatorPropertiesChanged()));
143+ QObject::connect(plugin.data(), SIGNAL(indicatorPropertiesChanged(const QVariant&)), this, SLOT(onIndicatorPropertiesChanged()));
145 beginInsertRows(QModelIndex(), pos, pos);
145 beginInsertRows(QModelIndex(), pos, pos);
@@ -193,7 +193,7 @@ void IndicatorsModel::notifyDataChanged(QObject *sender, int role)
193 QMutableListIterator<Indicator::Ptr> iter(m_plugins);
193 QMutableListIterator<Indicator::Ptr> iter(m_plugins);
194 while(iter.hasNext())
194 while(iter.hasNext())
196− if (iter.next().get() == plugin)
196+ if (iter.next().data() == plugin)
198 QModelIndex changedIndex = this->index(index);
198 QModelIndex changedIndex = this->index(index);
199 dataChanged(changedIndex, changedIndex, QVector<int>() << role);
199 dataChanged(changedIndex, changedIndex, QVector<int>() << role);
@@ -269,7 +269,7 @@ QVariant IndicatorsModel::data(const QModelIndex &index, int role) const
271 case IsValid:
271 case IsValid:
272− return (plugin.get() ? true : false);
272+ return (plugin ? true : false);
273 case Priority:
273 case Priority:
274 case Title:
274 case Title:
275 case Description:
275 case Description: