Refactoring fixes

This commit is contained in:
bsongis
2014-12-17 20:13:25 +01:00
parent 567dcd74f0
commit 5046f77cd9
5 changed files with 61 additions and 60 deletions
+4 -4
View File
@@ -74,7 +74,7 @@ void FlashProcess::onStarted()
}
# if !__GNUC__
bool KillProcessByName(const char *szProcessToKill)
bool killProcessByName(const char *szProcessToKill)
{
HANDLE hProcessSnap;
HANDLE hProcess;
@@ -107,13 +107,13 @@ bool KillProcessByName(const char *szProcessToKill)
}
#endif
# if !__GNUC__
void FlashProcess::onKillTimerElapsed()
{
# if !__GNUC__
// trick to accelerate SAM-BA startup
KillProcessByName("tasklist.exe");
}
killProcessByName("tasklist.exe");
#endif
}
void FlashProcess::analyseStandardOutput(const QString &text)
{