settings: code clean up
Correct Layout and Anchors emplacement
Erase inutile code
Fix binding loop warnings
Replace magic numbers by JamiTheme values
Remove multiline comments from qml files
Change-Id: Icdde094750ccc39fa3b3c9fb9368f8609eb8981d
Gitlab: #5
diff --git a/src/mainview/components/ContactSearchBar.qml b/src/mainview/components/ContactSearchBar.qml
index ef75bbc..89fb42c 100644
--- a/src/mainview/components/ContactSearchBar.qml
+++ b/src/mainview/components/ContactSearchBar.qml
@@ -32,10 +32,8 @@
}
- /*
- * Hack - there is no real way now to make TextField lose its focus,
- * unless transfer it to other component.
- */
+ // Hack - there is no real way now to make TextField lose its focus,
+ // unless transfer it to other component.
function clearFocus() {
fakeFocus.forceActiveFocus()
}