From 3dbfc06247db3c62a73f1f3022b648197ae24a00 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Wed, 12 Jan 2011 04:01:02 +0530 Subject: Krazy Fixes!! Add #rekonq_define.h to files that now use QL1C --- src/urlbar/webshortcutwidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/urlbar') diff --git a/src/urlbar/webshortcutwidget.cpp b/src/urlbar/webshortcutwidget.cpp index 843d528b..c687108a 100644 --- a/src/urlbar/webshortcutwidget.cpp +++ b/src/urlbar/webshortcutwidget.cpp @@ -18,6 +18,7 @@ * Boston, MA 02110-1301, USA. */ +#include "rekonq_defines.h" #include "webshortcutwidget.h" #include @@ -138,11 +139,11 @@ void WebShortcutWidget::cancelClicked() void WebShortcutWidget::shortcutsChanged(const QString& newShorthands) { int savedCursorPosition = m_wsLineEdit->cursorPosition(); - QString normalizedShorthands = QString(newShorthands).replace(" ", ","); + QString normalizedShorthands = QString(newShorthands).replace(QL1C(' '), QL1C(',')); m_wsLineEdit->setText(normalizedShorthands); m_wsLineEdit->setCursorPosition(savedCursorPosition); - QSet shorthands = normalizedShorthands.split(",").toSet(); + QSet shorthands = normalizedShorthands.split(QL1C(',')).toSet(); QString contenderName = ""; QString contenderWS = ""; -- cgit v1.2.1