mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Qt6: remove QTextCodec
This commit is contained in:
parent
4cd7c868ad
commit
43e89fcef5
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ void WalletKeysFilesModel::findWallets() {
|
|||
if (Utils::fileExists(basePath + ".address.txt")) {
|
||||
QFile file(basePath + ".address.txt");
|
||||
file.open(QFile::ReadOnly | QFile::Text);
|
||||
const QString _address = QTextCodec::codecForMib(106)->toUnicode(file.readAll());
|
||||
const QString _address = QString::fromUtf8(file.readAll());
|
||||
|
||||
if (!_address.isEmpty()) {
|
||||
addr = _address;
|
||||
|
|
Loading…
Reference in a new issue