Fixed using non existing function #4745

This commit is contained in:
Jerry (Xinyu Hou) 2015-06-30 15:05:24 -07:00
parent 00734c15b1
commit 44fa44fd1b
1 changed files with 3 additions and 3 deletions

View File

@ -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(