Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KIO Extras
Commits
9f98b04c
Commit
9f98b04c
authored
Aug 24, 2022
by
Mirco Miranda
Browse files
QImageReader::setAllocationLimit wants MiB (and not KiB)
parent
9c4f7cd1
Pipeline
#221978
passed with stage
in 1 minute and 42 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
thumbnail/imagecreator.cpp
View file @
9f98b04c
...
...
@@ -73,7 +73,7 @@ bool ImageCreator::create(const QString &path, int, int, QImage &img)
}
}
#else
QImageReader
::
setAllocationLimit
(
ram
/
1024
);
QImageReader
::
setAllocationLimit
(
ram
/
1024
/
1024
);
#endif
ir
.
setAutoTransform
(
true
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment