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

@ -62,7 +62,10 @@ int main(int argc, char** argv)
} }
else if (args.contains("-i")) 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); rmServices(); ret = loadServices(args);
} }