From 8c4edf29112a32f267d19717637bf2104c28b969 Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Thu, 18 Mar 2021 03:27:33 +0100
Subject: [PATCH] add some todos

---
 gui/qml/main.qml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index ce8faa23..0851efa6 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -18,11 +18,13 @@ Window {
 
     flags: Qt.WindowsStaysOnTopHint
 
-    // TODO get a nice background color
     property var ctx
     property var loginDone
     property var allowEmptyPass
 
+    // TODO get a nice background color for this mainwindow. It should be customizable.
+    // TODO refactorize all this mess into discrete components.
+
     TabBar {
         id: bar
         width: parent.width
@@ -145,6 +147,8 @@ Window {
                     id: autoSelectionButton
                     checked: true
                     text: qsTr("Automatic")
+                    // TODO still needs to change to automatic on the backend, and maybe note
+                    // that the change will be effective on the next reconnect.
                 }
                 RadioButton {
                     id: manualSelectionButton
@@ -162,7 +166,7 @@ Window {
                         backend.useGateway(currentText.toString())
                     }
                 }
-            } // end columnlayout
+            } // end column
         } // end item 
     } // end stacklayout
 
@@ -330,6 +334,7 @@ Window {
          * otherwise the ids are not available
          * from other components
          */
+
         menu: Menu {
 
             id: systrayMenu
-- 
GitLab