Skip to content

Commit

Permalink
Added better message for cases where gdal format does not allow build…
Browse files Browse the repository at this point in the history
…ing pyramids

git-svn-id: http://svn.osgeo.org/qgis/trunk@8975 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 2, 2008
1 parent 342b4ce commit 6f06395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -1608,7 +1608,8 @@ void QgsRasterLayerProperties::on_buttonBuildPyramids_clicked()
else if (res == "ERROR_WRITE_FORMAT")
{
QMessageBox::warning(this, tr("Building pyramids failed."),
tr("The file was not writeable. Some formats can not be written to, only read. You can also try to check the permissions and then try again.") );
tr("The file was not writeable. Some formats do not "
"support pyramid overviews. Consult the GDAL documentation if in doubt.") );
}
else if (res == "FAILED_NOT_SUPPORTED")
{
Expand Down

0 comments on commit 6f06395

Please sign in to comment.