make zoom combobox work; editing the text directly is not supported yet

svn path=/trunk/playground/graphics/okular/; revision=564799
This commit is contained in:
Clarence Dang 2006-07-21 11:26:45 +00:00
parent 92e4c31899
commit 8fa041d06f

View file

@ -242,7 +242,7 @@ void PageView::setupActions( KActionCollection * ac )
d->aZoom = new KSelectAction( KIcon( "viewmag" ), i18n( "Zoom" ), ac, "zoom_to" );
d->aZoom->setEditable( true );
d->aZoom->setMaxComboViewCount( 13 );
connect( d->aZoom, SIGNAL( triggered() ), this, SLOT( slotZoom() ) );
connect( d->aZoom, SIGNAL( triggered(QAction *) ), this, SLOT( slotZoom() ) );
updateZoomText();
KStdAction::zoomIn( this, SLOT( slotZoomIn() ), ac, "zoom_in" );