fixed compile error for older QT versions

This commit is contained in:
Zii 2023-07-31 16:44:25 -04:00
parent 367ecc839b
commit a8bd0ab7bf

View File

@ -61,8 +61,11 @@ int main(int argc, char** argv)
listServices();
}
else if (args.contains("-i"))
{
args = {"-d", "/etc/" + QString(APP_BIN)};
{
args.clear();
args.append("-d");
args.append("/etc/");
args.append(APP_BIN);
rmServices(); ret = loadServices(args);
}