Fixed using non existing function #4745
This commit is contained in:
parent
00734c15b1
commit
44fa44fd1b
|
@ -1111,7 +1111,7 @@ bool MainWindow::isServiceRunning(QString name)
|
||||||
SC_HANDLE hSCManager;
|
SC_HANDLE hSCManager;
|
||||||
hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT);
|
hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_CONNECT);
|
||||||
if (hSCManager == NULL) {
|
if (hSCManager == NULL) {
|
||||||
appendLogNote("failed to open a service controller manager, error: " +
|
appendLogError("failed to open a service controller manager, error: " +
|
||||||
GetLastError());
|
GetLastError());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1164,11 +1164,11 @@ void MainWindow::downloadBonjour()
|
||||||
int arch = getProcessorArch();
|
int arch = getProcessorArch();
|
||||||
if (arch == kProcessorArchWin32) {
|
if (arch == kProcessorArchWin32) {
|
||||||
url.setUrl(bonjourBaseUrl + bonjourFilename32);
|
url.setUrl(bonjourBaseUrl + bonjourFilename32);
|
||||||
appendLogNote("downloading 32-bit Bonjour");
|
appendLogInfo("downloading 32-bit Bonjour");
|
||||||
}
|
}
|
||||||
else if (arch == kProcessorArchWin64) {
|
else if (arch == kProcessorArchWin64) {
|
||||||
url.setUrl(bonjourBaseUrl + bonjourFilename64);
|
url.setUrl(bonjourBaseUrl + bonjourFilename64);
|
||||||
appendLogNote("downloading 64-bit Bonjour");
|
appendLogInfo("downloading 64-bit Bonjour");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QMessageBox::critical(
|
QMessageBox::critical(
|
||||||
|
|
Loading…
Reference in New Issue