diff options
| author | selsta <selsta@sent.at> | 2022-05-07 18:26:32 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2022-05-07 18:26:32 +0200 |
| commit | 5977e61a02557523fd2e5f9b3a6e84f6327b4194 (patch) | |
| tree | 771080ebdf42ac55ad8074957484007e21532aa4 /src/qt/ipc.cpp | |
| parent | 2e2ae5c88fdc159477e8bc9ad871a892da83e935 (diff) | |
| download | monzero-gui-5977e61a02557523fd2e5f9b3a6e84f6327b4194.tar.gz monzero-gui-5977e61a02557523fd2e5f9b3a6e84f6327b4194.tar.xz monzero-gui-5977e61a02557523fd2e5f9b3a6e84f6327b4194.zip | |
qt: remove QTextCodec
QTextCodec is removed in Qt6
Diffstat (limited to 'src/qt/ipc.cpp')
| -rw-r--r-- | src/qt/ipc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/ipc.cpp b/src/qt/ipc.cpp index a48cc8f8..dff7626d 100644 --- a/src/qt/ipc.cpp +++ b/src/qt/ipc.cpp @@ -109,8 +109,7 @@ void IPC::handleConnection(){ clientConnection, &QLocalSocket::deleteLater); clientConnection->waitForReadyRead(2); - QByteArray cmdArray = clientConnection->readAll(); - QString cmdString = QTextCodec::codecForMib(106)->toUnicode(cmdArray); // UTF-8 + QString cmdString = QString(clientConnection->readAll()); qDebug() << cmdString; this->parseCommand(cmdString); |
