It would be even nicer to wrap this in a function that converts a WalletModel::StatusCode to a (QString, CClientUIInterface::MessageBoxFlags) pair, so that we only need one emit messaget().