From 038facd4fcca60aa92fe29bbb47e9669029d0fe9 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 27 Apr 2012 01:05:20 +0200 Subject: Revert "Fix opensearch add shortcut handling" This reverts commit d09b430f9835fd19f9a0088a5620af20bdf36b0e. --- src/urlbar/webshortcutwidget.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/urlbar/webshortcutwidget.cpp') diff --git a/src/urlbar/webshortcutwidget.cpp b/src/urlbar/webshortcutwidget.cpp index c6dc3b79..409d0b32 100644 --- a/src/urlbar/webshortcutwidget.cpp +++ b/src/urlbar/webshortcutwidget.cpp @@ -4,7 +4,6 @@ * * Copyright (C) 2009 by Fredy Yanardi * Copyright (C) 2010-2011 by Lionel Chauvin -* Copyright (C) 2012 by Andrea Diamantini * * * This program is free software; you can redistribute it and/or @@ -28,7 +27,7 @@ // Self Includes #include "webshortcutwidget.h" -#include "webshortcutwidget.moc" +#include "rekonq_defines.h" // KDE Includes #include @@ -114,8 +113,6 @@ void WebShortcutWidget::show(const KUrl &url, const QString &openSearchName, con void WebShortcutWidget::accept() { emit webShortcutSet(m_url, m_nameLineEdit->text(), m_wsLineEdit->text()); - - // close widget (and destroy it) close(); } @@ -161,3 +158,7 @@ void WebShortcutWidget::shortcutsChanged(const QString& newShorthands) } } } + +#include "webshortcutwidget.moc" + + -- cgit v1.2.1