Skip to content

Commit

Permalink
Remove messagebox confirmation on geopackage compact
Browse files Browse the repository at this point in the history
Now that we use a proxy task, users will have o/s level notifications
if the compact takes a lengthy time
  • Loading branch information
nyalldawson committed Oct 11, 2018
1 parent f8bbc12 commit ab5c4fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/providers/ogr/qgsgeopackagedataitems.cpp
Expand Up @@ -475,11 +475,7 @@ void QgsGeoPackageCollectionItem::vacuumGeoPackageDbAction()
{
QString errCause;
bool result = QgsGeoPackageCollectionItem::vacuumGeoPackageDb( mPath, mName, errCause );
if ( result && errCause.isEmpty() )
{
QMessageBox::information( nullptr, tr( "Database compact (VACUUM)" ), tr( "Database <b>%1</b> has been compacted successfully." ).arg( mName ) );
}
else
if ( !result || !errCause.isEmpty() )
{
QMessageBox::warning( nullptr, tr( "Database compact (VACUUM)" ), errCause );
}
Expand Down

0 comments on commit ab5c4fc

Please sign in to comment.