Skip to content

Commit

Permalink
[imageplugin] Don't percent-encode base64 data
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFieber committed Jun 19, 2014
1 parent fe9d9d1 commit ddd2e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/imageplugin/imageplugin.cpp
Expand Up @@ -273,7 +273,7 @@ void ImagePlugin::actionActivated()
}
QBuffer b(&image);
pix.save(&b, mimeType.toAscii().constData());
QString imageBase64(QUrl::toPercentEncoding(image.toBase64()));
QString imageBase64(image.toBase64());
int length = image.length();
if(length > 61440) {
QMessageBox::information(0, tr("The image size is too large."),
Expand Down

0 comments on commit ddd2e28

Please sign in to comment.