summaryrefslogtreecommitdiffstats
path: root/api/logic/net
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/net')
-rw-r--r--api/logic/net/Download.cpp1
-rw-r--r--api/logic/net/PasteUpload.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/api/logic/net/Download.cpp b/api/logic/net/Download.cpp
index ee872e33..12c1b201 100644
--- a/api/logic/net/Download.cpp
+++ b/api/logic/net/Download.cpp
@@ -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);
diff --git a/api/logic/net/PasteUpload.h b/api/logic/net/PasteUpload.h
index 06e3f955..78d1da8e 100644
--- a/api/logic/net/PasteUpload.h
+++ b/api/logic/net/PasteUpload.h
@@ -20,7 +20,7 @@ public:
{
return m_pasteID;
}
- uint32_t maxSize()
+ int maxSize()
{
// 2MB for paste.ee - public
if(m_key == "public")