mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-12 10:53:09 +00:00
fordwardport r535156
svn path=/branches/work/kde4/playground/graphics/okular/; revision=535163
This commit is contained in:
parent
136a17a6be
commit
4e1c6cfbb8
1
part.cpp
1
part.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…
Reference in a new issue