Commit 7178b231 authored by Laurent Montel's avatar Laurent Montel 😁

Minor fix

svn path=/trunk/kdegraphics/kpdf/; revision=251249
parent 64ed82dd
......@@ -593,6 +593,7 @@ void Part::pageClicked ( QListBoxItem * qbi )
return;
m_currentPage = pdfpartview->pagesListBox->index(qbi)+1;
m_outputDev->setPage(m_currentPage);
updateActionPage();
}
BrowserExtension::BrowserExtension(Part* parent)
......
......@@ -214,14 +214,13 @@ void Shell::slotQuit()
void Shell::setFullScreen( bool useFullScreen )
{
m_isFullScreen = useFullScreen;
if( m_isFullScreen )
{
menuBar()->hide();
statusBar()->hide();
toolBar()->hide();
//todo fixme
//m_part->setFullScreen( true );
//m_pdfpart->setFullScreen( true );
showFullScreen();
#if 0
kapp->installEventFilter( m_fsFilter );
......@@ -232,8 +231,7 @@ void Shell::setFullScreen( bool useFullScreen )
else
{
//kapp->removeEventFilter( m_fsFilter );
//todo fixme
//m_part->setFullScreen( false );
//m_pdfpart->setFullScreen( false );
menuBar()->show();
#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,90)
KToggleAction *statusbarAction = dynamic_cast<KToggleAction *>(actionCollection()->action(KStdAction::name(KStdAction::ShowStatusbar)));
......
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