QString -> const QString&

svn path=/trunk/playground/graphics/okular/; revision=617286
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 94c9ffa3d7
commit feeeb50a73
  1. 2
      core/link.cpp
  2. 2
      core/link.h

@ -25,7 +25,7 @@ QString Link::linkTip() const
} }
// LinkGoto // LinkGoto
LinkGoto::LinkGoto( QString fileName, const DocumentViewport & viewport ) LinkGoto::LinkGoto( const QString& fileName, const DocumentViewport & viewport )
: m_extFileName( fileName ), m_vp( viewport ) : m_extFileName( fileName ), m_vp( viewport )
{ {
} }

@ -76,7 +76,7 @@ class OKULAR_EXPORT LinkGoto : public Link
* @p fileName The name of an external file that shall be loaded. * @p fileName The name of an external file that shall be loaded.
* @p viewport The target viewport information of the current document. * @p viewport The target viewport information of the current document.
*/ */
LinkGoto( QString fileName, const DocumentViewport & viewport ); LinkGoto( const QString& fileName, const DocumentViewport & viewport );
/** /**
* Returns the link type. * Returns the link type.

Loading…
Cancel
Save