Do not delete the kde bookmark manager here, it's automatically deleted.

This fixes a crash on close after being embedded, making okular finally usable as print preview component :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=687815
This commit is contained in:
Pino Toscano 2007-07-14 12:44:08 +00:00
parent f2ef436a56
commit 66518d52a7

View file

@ -45,7 +45,8 @@ class BookmarkManager::Private : public KBookmarkOwner
~Private()
{
knownFiles.clear();
delete manager;
// no need to delete the manager, it's automatically done by KBookmarkManager
// delete manager;
}
virtual QString currentUrl() const;