summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-09-13 17:10:30 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-09-13 17:10:30 +0200
commit681a611588781734d45395d76ec802c0a2117be3 (patch)
treedfcf89a4772664417dfd1b0b70d78f29362c0cb8 /src/urlbar
parentGet sure about urls are restored (diff)
downloadrekonq-681a611588781734d45395d76ec802c0a2117be3.tar.xz
Fix close & session
First, I'm really sorry for this bad commit ('git' talking..). The fact is that the 3 bugs fixed here were found chained playing with close code. Here it is the report: - fix close window (it now really appears on multiple window closing) - fix saveSession (saving one call for each site loaded and storing better information): saveSession is now called on loadFinished - clean up some compilation warnings
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/webshortcutwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/webshortcutwidget.cpp b/src/urlbar/webshortcutwidget.cpp
index 111ff836..4c7ba572 100644
--- a/src/urlbar/webshortcutwidget.cpp
+++ b/src/urlbar/webshortcutwidget.cpp
@@ -38,8 +38,8 @@
WebShortcutWidget::WebShortcutWidget(QWidget *parent)
: QMenu(parent)
- , m_nameLineEdit(new QLineEdit(this))
, m_wsLineEdit(new QLineEdit(this))
+ , m_nameLineEdit(new QLineEdit(this))
, m_noteLabel(new QLabel(this))
{
setAttribute(Qt::WA_DeleteOnClose);
@@ -52,7 +52,7 @@ WebShortcutWidget::WebShortcutWidget(QWidget *parent)
QLabel *webSearchIcon = new QLabel(this);
webSearchIcon->setPixmap(KIcon("edit-web-search").pixmap(32, 32));
- // Title
+ // Title
QLabel *titleLabel = new QLabel(this);
titleLabel->setText("<h4>" + i18n("Add Search Engine") + "</h4>");
vLay->addWidget(titleLabel);