mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 20:02:04 +02:00
ipc: fix Qt deprecation warning with 5.15.1 beta
This commit is contained in:
parent
e65159163d
commit
1d2840f8b5
@ -76,7 +76,7 @@ bool IPC::saveCommand(QString cmdString){
|
|||||||
|
|
||||||
QLocalSocket ls;
|
QLocalSocket ls;
|
||||||
QByteArray buffer;
|
QByteArray buffer;
|
||||||
buffer = buffer.append(cmdString);
|
buffer = buffer.append(cmdString.toUtf8());
|
||||||
QString socketFilePath = this->socketFile().filePath();
|
QString socketFilePath = this->socketFile().filePath();
|
||||||
|
|
||||||
ls.connectToServer(socketFilePath, QIODevice::WriteOnly);
|
ls.connectToServer(socketFilePath, QIODevice::WriteOnly);
|
||||||
|
Loading…
Reference in New Issue
Block a user