Skip to content
GitLab
Menu
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
2c9e6c7c
Commit
2c9e6c7c
authored
Jun 04, 2021
by
Yann Boucher
Browse files
I thought this was fixed! bug related to image selection
parent
d914fd78
Pipeline
#79198
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/interface.cpp
View file @
2c9e6c7c
...
...
@@ -481,7 +481,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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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