diff --git a/part.cpp b/part.cpp --- a/part.cpp +++ b/part.cpp @@ -1742,7 +1742,12 @@ { const QString dest = url.fragment(QUrl::FullyDecoded); bool ok = true; - const int page = dest.toInt( &ok ); + int page = dest.toInt( &ok ); + if ( !ok && dest.startsWith("page=", Qt::CaseInsensitive) ) + { + page = dest.mid(5).toInt(&ok); + } + if ( ok ) { Okular::DocumentViewport vp( page - 1 );