Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1d2dd42c authored by Albert Astals Cid's avatar Albert Astals Cid

no need for & here

parent ce1c882d
......@@ -1884,7 +1884,7 @@ void DocumentPrivate::doContinueGooglesDocumentSearch(void *pagesToNotifySet, vo
}
}
QVariant DocumentPrivate::documentMetaData( const Generator::DocumentMetaDataKey &key, const QVariant &option ) const
QVariant DocumentPrivate::documentMetaData( const Generator::DocumentMetaDataKey key, const QVariant &option ) const
{
switch ( key )
{
......
......@@ -177,7 +177,7 @@ class DocumentPrivate
* Request a particular metadata of the Document itself (ie, not something
* depending on the document type/backend).
*/
QVariant documentMetaData( const Generator::DocumentMetaDataKey &key, const QVariant &option ) const;
QVariant documentMetaData( const Generator::DocumentMetaDataKey key, const QVariant &option ) const;
/**
* Return whether the normalized rectangle @p rectOfInterest on page number @p rectPage
......
......@@ -437,7 +437,7 @@ QVariant Generator::documentMetaData( const QString &key, const QVariant &option
return QVariant();
}
QVariant Generator::documentMetaData( const DocumentMetaDataKey &key, const QVariant &option ) const
QVariant Generator::documentMetaData( const DocumentMetaDataKey key, const QVariant &option ) const
{
Q_D( const Generator );
if ( !d->m_document )
......
......@@ -534,7 +534,7 @@ class OKULARCORE_EXPORT Generator : public QObject
*
* @since 1.1
*/
QVariant documentMetaData( const DocumentMetaDataKey &key, const QVariant &option = QVariant() ) const;
QVariant documentMetaData( const DocumentMetaDataKey key, const QVariant &option = QVariant() ) const;
/**
* Request a meta data of the Document, if available, like an internal
......
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