summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rekonqpage/previewselectorbar.cpp4
-rw-r--r--src/urlbar/urlbar.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/rekonqpage/previewselectorbar.cpp b/src/rekonqpage/previewselectorbar.cpp
index 00950526..e7800f09 100644
--- a/src/rekonqpage/previewselectorbar.cpp
+++ b/src/rekonqpage/previewselectorbar.cpp
@@ -59,15 +59,17 @@ void PreviewSelectorBar::setup()
connect(closeButton, SIGNAL(clicked(bool)), SLOT(hide()));
m_button = new QPushButton(KIcon("insert-image"), i18n("Set to this page"), this);
+ m_button->setMaximumWidth(250);
connect(m_button, SIGNAL(clicked(bool)), SLOT(clicked()));
// layout
QHBoxLayout *layout = new QHBoxLayout(this);
layout->addWidget(closeButton);
- layout->addStretch();
layout->addWidget(m_label);
layout->addWidget(m_button);
+ layout->setContentsMargins(2, 0, 2, 0);
+
setLayout(layout);
}
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index adeba6ae..4d9765a2 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -148,7 +148,6 @@ void UrlBar::setUrl(const QUrl& url)
m_currentUrl = KUrl(url);
updateUrl();
}
-
}