Skip to content

Commit ab5c4fc

Browse files
committed
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
1 parent f8bbc12 commit ab5c4fc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/providers/ogr/qgsgeopackagedataitems.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -475,11 +475,7 @@ void QgsGeoPackageCollectionItem::vacuumGeoPackageDbAction()
475475
{
476476
QString errCause;
477477
bool result = QgsGeoPackageCollectionItem::vacuumGeoPackageDb( mPath, mName, errCause );
478-
if ( result && errCause.isEmpty() )
479-
{
480-
QMessageBox::information( nullptr, tr( "Database compact (VACUUM)" ), tr( "Database <b>%1</b> has been compacted successfully." ).arg( mName ) );
481-
}
482-
else
478+
if ( !result || !errCause.isEmpty() )
483479
{
484480
QMessageBox::warning( nullptr, tr( "Database compact (VACUUM)" ), errCause );
485481
}

0 commit comments

Comments
 (0)