fordwardport r535156

svn path=/branches/work/kde4/playground/graphics/okular/; revision=535163
This commit is contained in:
Albert Astals Cid 2006-04-28 18:08:04 +00:00
parent 136a17a6be
commit 4e1c6cfbb8
2 changed files with 1 additions and 1 deletions

View file

@ -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;
}

View file

@ -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 );
}
}