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& ...@@ -294,7 +294,7 @@ account_creation_show_error_view(AccountCreationWizard *view, const std::string&
break; break;
case Mode::IMPORT_FROM_BACKUP: case Mode::IMPORT_FROM_BACKUP:
gtk_label_set_text(GTK_LABEL(priv->label_error_view), 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; break;
case Mode::CONNECT_TO_MANAGER: case Mode::CONNECT_TO_MANAGER:
gtk_label_set_text(GTK_LABEL(priv->label_error_view), gtk_label_set_text(GTK_LABEL(priv->label_error_view),
...@@ -884,7 +884,7 @@ build_creation_wizard_view(AccountCreationWizard *view) ...@@ -884,7 +884,7 @@ build_creation_wizard_view(AccountCreationWizard *view)
/* error_view signals */ /* error_view signals */
g_signal_connect_swapped(priv->button_error_view_ok, "clicked", G_CALLBACK(error_ok_clicked), view); g_signal_connect_swapped(priv->button_error_view_ok, "clicked", G_CALLBACK(error_ok_clicked), view);
/* Connect to account_manager */ /* Connect to account_manager */
g_signal_connect_swapped(priv->entry_account_manager_username, "changed", G_CALLBACK(entries_connect_account_manager_changed), view); g_signal_connect_swapped(priv->entry_account_manager_username, "changed", G_CALLBACK(entries_connect_account_manager_changed), view);
......
...@@ -152,7 +152,7 @@ migrate(AccountMigrationView *view) ...@@ -152,7 +152,7 @@ migrate(AccountMigrationView *view)
const gchar *password = gtk_entry_get_text(GTK_ENTRY(priv->entry_password)); const gchar *password = gtk_entry_get_text(GTK_ENTRY(priv->entry_password));
priv->state_changed = QObject::connect((*priv->accountInfo_)->accountModel, priv->state_changed = QObject::connect((*priv->accountInfo_)->accountModel,
&lrc::api::NewAccountModel::migrationEnded, &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_hide(priv->hbox_migrating_account_spinner);
gtk_widget_set_sensitive(GTK_WIDGET(priv->button_delete_account), true); 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