summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-01-20 13:05:00 (GMT)
committerRichard Maudsley <richard.maudsley@isode.com>2014-01-20 13:05:00 (GMT)
commit6c2effacbfb8a7e74f1947f1a62fd1778084e036 (patch)
treeeb503da5eeb8005bf00d2635b7ea4be4ea8e4738
parenta4c19849c82745c8bde496f2e0a928c14fcbb56d (diff)
downloadswift-6c2effacbfb8a7e74f1947f1a62fd1778084e036.zip
swift-6c2effacbfb8a7e74f1947f1a62fd1778084e036.tar.bz2
Removed debug output.
Change-Id: Ie08b337f3e27f8ea995edfda2459ecd3e7cb70da
-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);
}