Commit 94daa325 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Remove this code since it totally breaks okular itself

CCMAIL: michel.ludwig@gmail.com
parent 0cb5a67e
......@@ -919,11 +919,6 @@ void PageView::updateActionState( bool haspages, bool documentChanged, bool hasf
if ( d->aZoomFitText )
d->aZoomFitText->setEnabled( haspages );
if ( d->aZoom )
{
d->aZoom->selectableActionGroup()->setEnabled( haspages );
d->aZoom->setEnabled( haspages );
}
if ( d->aZoomIn )
d->aZoomIn->setEnabled( haspages );
if ( d->aZoomOut )
......@@ -3436,8 +3431,6 @@ void PageView::updateZoomText()
else if ( d->zoomMode == ZoomFitText )
selIdx = 2;
d->aZoom->setCurrentItem( selIdx );
d->aZoom->setEnabled( d->items.size() > 0 );
d->aZoom->selectableActionGroup()->setEnabled( d->items.size() > 0 );
}
void PageView::updateCursor( const QPoint &p )
......
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