From 1d2840f8b5fa46cbbcae2f58f3bdbd33ac49b1a4 Mon Sep 17 00:00:00 2001 From: selsta Date: Wed, 26 Aug 2020 02:58:11 +0200 Subject: [PATCH] ipc: fix Qt deprecation warning with 5.15.1 beta --- src/qt/ipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/ipc.cpp b/src/qt/ipc.cpp index ae6b061d..a48cc8f8 100644 --- a/src/qt/ipc.cpp +++ b/src/qt/ipc.cpp @@ -76,7 +76,7 @@ bool IPC::saveCommand(QString cmdString){ QLocalSocket ls; QByteArray buffer; - buffer = buffer.append(cmdString); + buffer = buffer.append(cmdString.toUtf8()); QString socketFilePath = this->socketFile().filePath(); ls.connectToServer(socketFilePath, QIODevice::WriteOnly);