Skip to content
Permalink
Browse files

Remove messagebox confirmation on geopackage compact

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 ab5c4fc8ef453450e8a56bc3717c09d9ee76a640
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/providers/ogr/qgsgeopackagedataitems.cpp
@@ -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 );
}

0 comments on commit ab5c4fc

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