Skip to content
Permalink
Browse files

Use a lossless image format when saving chat log images that do not h…

…ave a file extension
  • Loading branch information...
bontibon authored and mkrautz committed Jan 19, 2016
1 parent 37a7370 commit 8722bdd01f87236ab5f158e7a7dea4859e180b7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/MainWindow.cpp
@@ -715,7 +715,7 @@ void MainWindow::saveImageAs() {
if (!ok) {
// In case fname did not contain a file extension, try saving with an
// explicit format.
ok = img.save(fname, "JPG");
ok = img.save(fname, "PNG");
}
if (!ok) {
g.l->log(Log::Warning, tr("Could not save image: %1").arg(Qt::escape(fname)));

0 comments on commit 8722bdd

Please sign in to comment.
You can’t perform that action at this time.