Commit d6d2bb6a authored by Sébastien Blin's avatar Sébastien Blin

misc: fix typo + warning

Change-Id: I29cd5c59d8a8cdad6916f5547194b1605ebe242f
parent 85346b54
......@@ -294,7 +294,7 @@ account_creation_show_error_view(AccountCreationWizard *view, const std::string&
break;
case Mode::IMPORT_FROM_BACKUP:
gtk_label_set_text(GTK_LABEL(priv->label_error_view),
_("annot retrieve any account, please verify your archive and your password."));
_("Cannot retrieve any account, please verify your archive and your password."));
break;
case Mode::CONNECT_TO_MANAGER:
gtk_label_set_text(GTK_LABEL(priv->label_error_view),
......
......@@ -152,7 +152,7 @@ migrate(AccountMigrationView *view)
const gchar *password = gtk_entry_get_text(GTK_ENTRY(priv->entry_password));
priv->state_changed = QObject::connect((*priv->accountInfo_)->accountModel,
&lrc::api::NewAccountModel::migrationEnded,
[=] (const std::string& accountId, bool ok)
[=] (const std::string&, bool ok)
{
gtk_widget_hide(priv->hbox_migrating_account_spinner);
gtk_widget_set_sensitive(GTK_WIDGET(priv->button_delete_account), true);
......
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