mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
ipc: fix Qt deprecation warning with 5.15.1 beta
This commit is contained in:
parent
e65159163d
commit
1d2840f8b5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue