Skip to content

Commit

Permalink
Use a lossless image format when saving chat log images that do not h…
Browse files Browse the repository at this point in the history
…ave a file extension
  • Loading branch information
Tim Cooper authored and mkrautz committed Jan 31, 2016
1 parent 37a7370 commit 8722bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mumble/MainWindow.cpp
Expand Up @@ -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)));
Expand Down

0 comments on commit 8722bdd

Please sign in to comment.