GH-719 implement paste.ee API keys

This commit is contained in:
Petr Mrázek
2015-10-02 00:12:53 +02:00
parent ac8ff88061
commit ae4216de61
11 changed files with 345 additions and 16 deletions

View File

@@ -121,7 +121,7 @@ void OtherLogsPage::on_btnReload_clicked()
tr("The file (%1) is too big. You may want to open it in a viewer optimized "
"for large files.").arg(file.fileName()));
};
if(file.size() >= 10000000ll)
if(file.size() > (1024ll * 1024ll * 12ll))
{
showTooBig();
return;