NOISSUE fix a bunch of compiler warnings

This commit is contained in:
Petr Mrázek
2017-05-21 20:20:37 +02:00
parent 572a6026b5
commit 8bd8be95f0
10 changed files with 22 additions and 27 deletions

View File

@ -85,6 +85,7 @@ void Download::start()
case Job_InProgress:
qDebug() << "Downloading " << m_url.toString();
break;
case Job_Failed_Proceed: // this is meaningless in this context. We do need a sink.
case Job_NotStarted:
case Job_Failed:
emit failed(m_index_within_job);

View File

@ -20,7 +20,7 @@ public:
{
return m_pasteID;
}
uint32_t maxSize()
int maxSize()
{
// 2MB for paste.ee - public
if(m_key == "public")