fordwardport r535156

svn path=/branches/work/kde4/playground/graphics/okular/; revision=535163
remotes/origin/old/work/newpageview
Albert Astals Cid 20 years ago
parent 136a17a6be
commit 4e1c6cfbb8
  1. 1
      part.cpp
  2. 1
      shell/shell.cpp

@ -564,6 +564,7 @@ bool Part::openURL(const KUrl &url)
m_viewportDirty = 0;
else
KMessageBox::error( widget(), i18n( "Could not open %1", url.prettyURL() ) );
emit enablePrintAction(openOk);
return openOk;
}

@ -128,7 +128,6 @@ void Shell::openURL( const KUrl & url )
bool openOk = m_part->openURL( url );
if ( openOk ) m_recent->addUrl( url );
else m_recent->removeUrl( url );
m_printAction->setEnabled( openOk );
}
}

Loading…
Cancel
Save