qt: Fix building with Qt 5

This commit is contained in:
Cacodemon345
2022-02-28 12:43:24 +06:00
parent ed22399f4b
commit 08e1993808

View File

@@ -32,7 +32,7 @@ void UnixManagerSocket::readyToRead()
if (line.size())
{
line.resize(line.size() - 2);
line.push_back((unsigned char)0);
line.push_back('\0');
if (line == "showsettings")
{
emit showsettings();