mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Changed: Write warnings in log
This commit is contained in:
parent
6d5b32d043
commit
54fbe72929
1 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ bool CDownloader::getFile()
|
||||||
{
|
{
|
||||||
if (m_fullPath.isEmpty() || m_url.isEmpty())
|
if (m_fullPath.isEmpty() || m_url.isEmpty())
|
||||||
{
|
{
|
||||||
qDebug() << "You forget to call prepareFile before";
|
nlwarning("You forget to call prepareFile before");
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -233,7 +233,7 @@ bool CDownloader::checkDownloadedFile()
|
||||||
|
|
||||||
void CDownloader::onTimeout()
|
void CDownloader::onTimeout()
|
||||||
{
|
{
|
||||||
qDebug() << "Timeout";
|
nlwarning("Timeout");
|
||||||
|
|
||||||
if (m_listener) m_listener->operationFail(tr("Timeout"));
|
if (m_listener) m_listener->operationFail(tr("Timeout"));
|
||||||
}
|
}
|
||||||
|
@ -368,7 +368,7 @@ void CDownloader::onHeadFinished()
|
||||||
{
|
{
|
||||||
if (checkDownloadedFile())
|
if (checkDownloadedFile())
|
||||||
{
|
{
|
||||||
qDebug() << "same date and size";
|
nlwarning("Same date and size");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue