Skip to content

Commit

Permalink
hardcode webp. arskom#33
Browse files Browse the repository at this point in the history
  • Loading branch information
plq committed Jul 27, 2016
1 parent 1cd6e0a commit 6eb504c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,7 @@ void MainWindow::on_action_save_as_triggered() {

QString imagePath = QFileDialog::getSaveFileName(
this, tr("Save File"), desktop_abs.first(),
tr("JPEG (*.jpg *.jpeg);;PNG (*.png);;BMP (*.bmp);;WEBP (*.webp)"));


tr("WEBP (*.webp)"));

m_orig_image = m_pixmap.toImage();
m_orig_image.save(imagePath);
Expand Down

0 comments on commit 6eb504c

Please sign in to comment.