Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/providers/ogr/qgsgeopackagedataitems.cpp
Co-Authored-By: signedav <david@opengis.ch>
  • Loading branch information
nyalldawson and signedav committed Jan 9, 2019
1 parent 22ddcb8 commit 1320456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsgeopackagedataitems.cpp
Expand Up @@ -529,7 +529,7 @@ bool QgsGeoPackageAbstractLayerItem::deleteLayer()
QgsGeoPackageConnectionItem *connectionParentItem = qobject_cast<QgsGeoPackageConnectionItem *>( mParent ); QgsGeoPackageConnectionItem *connectionParentItem = qobject_cast<QgsGeoPackageConnectionItem *>( mParent );
if ( connectionParentItem ) if ( connectionParentItem )
{ {
if ( QMessageBox::question( nullptr, QObject::tr( "Delete Layer" ), QObject::tr( "The layer <b>%1</b> was deleted successfully." if ( QMessageBox::question( nullptr, QObject::tr( "Delete Layer" ), QObject::tr( "The layer <b>%1</b> was successfully deleted."
" Compact database (VACUUM) <b>%2</b> now?" ).arg( mName, connectionParentItem->name() ), QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) == QMessageBox::Yes ) " Compact database (VACUUM) <b>%2</b> now?" ).arg( mName, connectionParentItem->name() ), QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) == QMessageBox::Yes )
{ {
connectionParentItem->vacuumGeoPackageDbAction(); connectionParentItem->vacuumGeoPackageDbAction();
Expand Down

0 comments on commit 1320456

Please sign in to comment.