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
LO21_Pin_Noir_Boucher_Bouri_Detree
CellulutLO21
Commits
af3b1090
Commit
af3b1090
authored
Jun 01, 2021
by
Yann Boucher
Browse files
Fixed a bug related to image loading (would only accept jpeg), added the QR Code example pattern
parent
32b13873
Pipeline
#78944
passed with stages
in 16 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
patterns/qrgitlab.json
0 → 100644
View file @
af3b1090
This diff is collapsed.
Click to expand it.
src/interface.cpp
View file @
af3b1090
...
...
@@ -469,7 +469,7 @@ static unsigned closest_state(const Alphabet& alph, const QColor& color)
void
MainWindow
::
load_from_image
()
{
QString
fileName
=
QFileDialog
::
getOpenFileName
(
this
,
tr
(
"Open File"
),
""
,
tr
(
"Image (*.png *.jpg *.jpeg *.bmp *.gif"
));
QString
fileName
=
QFileDialog
::
getOpenFileName
(
this
,
tr
(
"Open File"
),
""
,
tr
(
"Image (*.png *.jpg *.jpeg *.bmp *.gif
)
"
));
QImage
img
(
fileName
);
if
(
img
.
isNull
())
return
;
...
...
Yann Boucher
@yboucher
mentioned in issue
#57 (closed)
·
Jun 01, 2021
mentioned in issue
#57 (closed)
mentioned in issue #57
Toggle commit list
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