diff options
author | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-08-14 18:48:29 +0200 |
---|---|---|
committer | Panagiotis Papadopoulos <pano_90@gmx.net> | 2009-08-14 18:48:29 +0200 |
commit | 4b97fc06883df0d4be6487b9bf9996674dc40505 (patch) | |
tree | d72365772a3ab23df4cec214ca2c7f9cfa7054f4 /src/bookmarks.cpp | |
parent | Some work on WebPage class.. (diff) | |
download | rekonq-4b97fc06883df0d4be6487b9bf9996674dc40505.tar.xz |
Fix crashing, when right-clicking on a bookmark folder in the bookmark
toolbar. Patch by Johannes Zellner, Thanks!
Diffstat (limited to 'src/bookmarks.cpp')
-rw-r--r-- | src/bookmarks.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp index c9db4a9b..a1f0e441 100644 --- a/src/bookmarks.cpp +++ b/src/bookmarks.cpp @@ -261,6 +261,8 @@ void BookmarkProvider::contextMenu(const QPoint &point) if (!action) return; KMenu *menu = m_bookmarkMenu->viewContextMenu(action); + if (!menu) + return; menu->popup(m_bookmarkToolBar->mapToGlobal(point)); } |