Commit 2c9e6c7c authored by Yann Boucher's avatar Yann Boucher
Browse files

I thought this was fixed! bug related to image selection

parent d914fd78
Pipeline #79198 failed with stage
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment