Commit aa39c9fd authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

fix return type to avoid compiler warning
parent 58ca0e26
......@@ -501,7 +501,7 @@ KGpgSearchResultModel::filterByValidity() const
return m_filterByValidity;
const QString &
KGpgSearchResultModel::idForIndex(const QModelIndex &index) const
return static_cast<KGpgSearchResultBackingModel *>(sourceModel())->idForIndex(mapToSource(index));
......@@ -124,7 +124,7 @@ public:
* @param index valid index of any item in the model
* @return fingerprint of the corresponding key
const QString &idForIndex(const QModelIndex &index) const;
QString idForIndex(const QModelIndex &index) const;
* @brief Return the total number of rows in the source model.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment