aboutsummaryrefslogtreecommitdiffstats
path: root/mail-overview/shell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mail-overview/shell.qml')
-rw-r--r--mail-overview/shell.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail-overview/shell.qml b/mail-overview/shell.qml
index cd2e907..1925f44 100644
--- a/mail-overview/shell.qml
+++ b/mail-overview/shell.qml
@@ -21,4 +21,17 @@ ShellRoot {
function show() { panel.show(); }
function close() { panel.close(); }
}
+
+ // TEMPORARY probe for Task 3 verification. Removed in Step 5.
+ Component.onCompleted: Qt.callLater(() => {
+ console.log("ACCOUNTS", JSON.stringify(Accounts.accounts.map(a => a.key + ":" + a.label)));
+ })
+ Connections {
+ target: Accounts
+ function onLoadingChanged() {
+ if (!Accounts.loading)
+ console.log("COUNTS", JSON.stringify(Accounts.accounts.map(a => a.label + "=" + a.count)),
+ "total", Accounts.total);
+ }
+ }
}