Commit c81e17a8 authored by Jan Möbius's avatar Jan Möbius

Support jpg for application Snapshot


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5692 383ad7c9-94d9-4d36-a494-682f7c89f535
parent badc6e40
......@@ -75,7 +75,7 @@ void CoreWidget::slotSetGlobalBackgroundColor() {
QColor c = QColorDialog::getColor(backCol,this);
if (c != backCol && c.isValid())
for ( uint i = 0 ; i < OpenFlipper::Options::examinerWidgets(); ++i )
for ( uint i = 0 ; i < OpenFlipper::Options::examinerWidgets(); ++i )
PluginFunctions::viewerProperties(i).backgroundColor(ACG::Vec4f(((double) c.redF()) ,
((double) c.greenF()) ,
((double) c.blueF()) ,
......@@ -280,6 +280,9 @@ void CoreWidget::applicationSnapshot() {
if (fi.completeSuffix() == "ppm")
format="ppmraw";
if (fi.completeSuffix() == "jpg")
format="jpg";
suggest += format;
QApplication::processEvents();
......@@ -490,7 +493,7 @@ void CoreWidget::slotCopyView( ) {
examiner_widgets_[PluginFunctions::activeExaminer()]->actionCopyView();
}
//=============================================================================
Markdown is supported
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