correctly initialize the history; crash spotted by Bram, thanks!

svn path=/trunk/KDE/kdegraphics/okular/; revision=721277
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 42372d4dfb
commit a5940e0132
  1. 1
      core/document.cpp

@ -1008,6 +1008,7 @@ Document::Document( QWidget *widget )
: QObject( widget ), d( new DocumentPrivate( this ) )
{
d->m_bookmarkManager = new BookmarkManager( this );
d->m_viewportIterator = d->m_viewportHistory.insert( d->m_viewportHistory.end(), DocumentViewport() );
connect( PageController::self(), SIGNAL( rotationFinished( int ) ),
this, SLOT( rotationFinished( int ) ) );

Loading…
Cancel
Save