Delay the progress dialog by one second so it doesn't show on quick scans.

Do not show the disconnect message if no connection is established.
Show correct directory separators on Windows.
This commit is contained in:
codestation
2014-01-16 21:38:05 -04:30
parent 230bbcfb43
commit 04ce71a9f3
7 changed files with 44 additions and 9 deletions

View File

@@ -251,3 +251,15 @@ void CmaClient::setActive(bool state)
is_active = state;
}
bool CmaClient::isRunning()
{
bool ret;
if(mutex.tryLock()) {
ret = in_progress;
mutex.unlock();
} else {
ret = true;
}
return ret;
}