Skip to content
Permalink
Browse files

set parent of QgsRasterLayerSaveAsDialog to inherit css

  • Loading branch information
etiennesky committed Sep 14, 2012
1 parent 77241dd commit f53aa30a51fdcd5bac2ee29b8f7d1bca5521d142
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgisapp.cpp
@@ -4011,7 +4011,10 @@ void QgisApp::saveAsRasterFile()
return;
}

QgsRasterLayerSaveAsDialog d( rasterLayer, rasterLayer->dataProvider(), mMapCanvas->extent(), rasterLayer->crs(), mMapCanvas->mapRenderer()->destinationCrs() );
QgsRasterLayerSaveAsDialog d( rasterLayer, rasterLayer->dataProvider(),
mMapCanvas->extent(), rasterLayer->crs(),
mMapCanvas->mapRenderer()->destinationCrs(),
this );
if ( d.exec() == QDialog::Accepted )
{
QgsRasterFileWriter fileWriter( d.outputFileName() );

0 comments on commit f53aa30

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