summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/urlbar.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index bb9b8fcf..821b9ae0 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -711,11 +711,9 @@ void UrlBar::manageBookmarks(QPoint pos)
{
bookmark = rApp->bookmarkManager()->owner()->bookmarkCurrentPage();
}
- else
- {
- BookmarkWidget *widget = new BookmarkWidget(bookmark, window());
- widget->showAt(pos);
- }
+
+ BookmarkWidget *widget = new BookmarkWidget(bookmark, window());
+ widget->showAt(pos);
}