summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-08 10:51:52 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-08 10:51:52 +0200
commit53dacdcea5ac1736caa674451f897eaaf1f9a3d1 (patch)
treed129bfc2e3da6861d31354a994f8e143f2afa290 /src
parentEnsure rekonq will close when deleting last window. (diff)
downloadrekonq-53dacdcea5ac1736caa674451f897eaaf1f9a3d1.tar.xz
Let users select bookmark destination on bookmarking
CCBUG: 288249
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);
}