Commit 58ca0e26 authored by Rolf Eike Beer's avatar Rolf Eike Beer

fix return type to avoid compiler warning

CCMAIL:diazona@gmail.com
parent 9512b7f8
......@@ -432,7 +432,7 @@ KGpgSearchResultBackingModel::headerData(int section, Qt::Orientation orientatio
}
}
const QString &
QString
KGpgSearchResultBackingModel::idForIndex(const QModelIndex &index) const
{
Q_ASSERT(index.isValid());
......
......@@ -57,7 +57,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;
typedef enum {ROOT_LEVEL, KEY_LEVEL, ATTRIBUTE_LEVEL} NodeLevel;
......
Markdown is supported
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