summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/Controllers/HighlightEditorController.cpp3
-rw-r--r--Swift/QtUI/QtHighlightEditor.cpp6
2 files changed, 2 insertions, 7 deletions
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);
}