From 0396fdb01d12e51bd2cc63478819b366c0453d29 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Sat, 6 Mar 2021 20:26:21 +0100 Subject: Moves all globals into a structure that can be deleted before the app exists. Fixes #193. --- src/dialogs/newidentitiydialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dialogs/newidentitiydialog.cpp') diff --git a/src/dialogs/newidentitiydialog.cpp b/src/dialogs/newidentitiydialog.cpp index aa2241c..567fc7d 100644 --- a/src/dialogs/newidentitiydialog.cpp +++ b/src/dialogs/newidentitiydialog.cpp @@ -19,7 +19,7 @@ NewIdentitiyDialog::NewIdentitiyDialog(QWidget *parent) : ui->expiration_date->setTime(QTime(12, 00)); ui->group->clear(); - for(const auto &group_name : kristall::identities.groups()) + for(const auto &group_name : kristall::globals().identities.groups()) { ui->group->addItem(group_name); } -- cgit v1.2.3