mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Qt6: remove QTextCodec
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user