# HG changeset patch # User Chris Cannam # Date 1582896111 0 # Node ID 6dc2c2adae08c7968d752611bbdcdbbfd493cce6 # Parent de8552bfeadf01e20426f0bdf4b4d221d2cc9362 No, don't show this dialog - it doesn't get positioned well, and I think it's a bit clumsy diff -r de8552bfeadf -r 6dc2c2adae08 installer.cpp --- a/installer.cpp Fri Feb 28 13:15:35 2020 +0000 +++ b/installer.cpp Fri Feb 28 13:21:51 2020 +0000 @@ -1083,24 +1083,17 @@ vector toInstall = getUserApprovedPluginLibraries(info, target); + if (toInstall.empty()) { // Cancelled, or nothing selected + SVCERR << "No libraries selected for installation, nothing to do" + << endl; + return 0; + } + QProgressDialog progress(QObject::tr("Installing..."), QObject::tr("Stop"), 0, int(toInstall.size()) + 1); progress.setMinimumDuration(0); - if (toInstall.empty()) { // Cancelled, or nothing selected - SVCERR << "No libraries selected for installation, nothing to do" - << endl; - progress.hide(); - QMessageBox::information - (&progress, - QObject::tr("Nothing to do"), - QObject::tr("No libraries selected for installation"), - QMessageBox::Ok, - QMessageBox::Ok); - return 0; - } - int pval = 0; bool complete = true;