From 6c2effacbfb8a7e74f1947f1a62fd1778084e036 Mon Sep 17 00:00:00 2001
From: Richard Maudsley <richard.maudsley@isode.com>
Date: Mon, 20 Jan 2014 13:05:00 +0000
Subject: Removed debug output.

Change-Id: Ie08b337f3e27f8ea995edfda2459ecd3e7cb70da

diff --git a/Swift/Controllers/HighlightEditorController.cpp b/Swift/Controllers/HighlightEditorController.cpp
index cb2c3b8..1a67cc8 100644
--- a/Swift/Controllers/HighlightEditorController.cpp
+++ b/Swift/Controllers/HighlightEditorController.cpp
@@ -43,10 +43,7 @@ void HighlightEditorController::handleUIEvent(boost::shared_ptr<UIEvent> rawEven
 void HighlightEditorController::handleContactSuggestionsRequested(const std::string& text)
 {
 	if (contactSuggester_) {
-		std::cout << "PASSING JID SUGGESTIONS TO WINDOW!" << std::endl;
 		highlightEditorWindow_->setContactSuggestions(contactSuggester_->getSuggestions(text));
-	} else {
-		std::cout << "PASSING JID SUGGESTIONS TO WINDOW: FAILED - OFFLINE!" << std::endl;
 	}
 }
 
diff --git a/Swift/QtUI/QtHighlightEditor.cpp b/Swift/QtUI/QtHighlightEditor.cpp
index f014ce6..65ddd4d 100644
--- a/Swift/QtUI/QtHighlightEditor.cpp
+++ b/Swift/QtUI/QtHighlightEditor.cpp
@@ -117,9 +117,9 @@ std::string formatNaturalDescription(const HighlightRule& rule)
 	if (!keywords.empty()) {
 		text += " the message contains '" + keywords[0] + "'";
 		if (rule.getMatchCase()) {
-			text += " (case sensivitive)";
+			text += " (case sensitive)";
 		} else {
-			text += " (not case sensivitive)";
+			text += " (not case sensitive)";
 		}
 		if (rule.getMatchWholeWords()) {
 			text += " as a whole word";
@@ -171,7 +171,6 @@ void QtHighlightEditor::setHighlightManager(HighlightManager* highlightManager)
 
 void QtHighlightEditor::setContactSuggestions(const std::vector<Contact>& suggestions)
 {
-	std::cout << "SETTINGS SUGGESTIONS!" << std::endl;
 	jid_->setSuggestions(suggestions);
 }
 
@@ -313,7 +312,6 @@ void QtHighlightEditor::enableDialog(bool state)
 
 void QtHighlightEditor::handleContactSuggestionRequested(const QString& text)
 {
-	std::cout << "GOT TEXT INPUT EVENT" << std::endl;
 	std::string stdText = Q2PSTRING(text);
 	onContactSuggestionsRequested(stdText);
 }
-- 
cgit v0.10.2-6-g49f6