Commit e23e4941 authored by Nicolas Jager's avatar Nicolas Jager Committed by Stepan Salenikovich

welcome view : update on currentChanged

- swap currentDefaultAccountChanged for currentChanged, to stay
more consistent with the rest.

Change-Id: I50097be6ef94dd8787d12e8acd0aeb2c008f301e
Reviewed-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
parent 15434f58
......@@ -200,9 +200,9 @@ ring_welcome_view_init(RingWelcomeView *self)
gtk_box_pack_start(GTK_BOX(box_main), priv->button_qrcode, TRUE, TRUE, 0);
priv->account_model_data_changed = QObject::connect(
&AvailableAccountModel::instance(),
&AvailableAccountModel::currentDefaultAccountChanged,
[self] (Account* a)
AvailableAccountModel::instance().selectionModel(),
&QItemSelectionModel::currentChanged,
[self] ()
{
update_view(self);
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment