From 681a611588781734d45395d76ec802c0a2117be3 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 13 Sep 2011 17:10:30 +0200 Subject: 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 --- src/urlbar/webshortcutwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/urlbar') 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("

" + i18n("Add Search Engine") + "

"); vLay->addWidget(titleLabel); -- cgit v1.2.1