summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Troscher <fritz_van_tom@hotmail.com>2011-07-19 22:15:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-19 22:15:22 +0200
commitd521e68280a66ec89e93d1b5547d500445a8ed31 (patch)
tree6772d3df07f39e7dedea17ad55dcb7a25cd22dea /src
parentfix the fix (diff)
downloadrekonq-d521e68280a66ec89e93d1b5547d500445a8ed31.tar.xz
Improve appearance of bookmark widget
Reviewed By: pierre, andrea. REVIEW:102000
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/bookmarkwidget.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp
index 811e89be..0cacd41d 100644
--- a/src/urlbar/bookmarkwidget.cpp
+++ b/src/urlbar/bookmarkwidget.cpp
@@ -55,11 +55,8 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent)
QFormLayout *layout = new QFormLayout(this);
// Bookmark icon
- QHBoxLayout *hLayout = new QHBoxLayout(this);
QLabel *bookmarkIcon = new QLabel(this);
bookmarkIcon->setPixmap(KIcon("bookmarks").pixmap(32, 32));
- hLayout->setSpacing(10);
- hLayout->addWidget(bookmarkIcon);
// Title
QVBoxLayout *vLayout = new QVBoxLayout(this);
@@ -74,8 +71,7 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent)
connect(removeButton, SIGNAL(clicked()), this, SLOT(removeBookmark()));
vLayout->addWidget(removeButton);
- hLayout->addLayout(vLayout);
- layout->addItem(hLayout);
+ layout->addRow(bookmarkIcon, vLayout);
// Bookmark name
QLabel *nameLabel = new QLabel(this);