comparison ui/mainwindow.cpp @ 393:ae2ef965a41b

Provide installer with old list in case there are no news
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Apr 2014 20:27:26 +0200
parents 3be838c3e4d8
children 17e1c8f37d72
comparison
equal deleted inserted replaced
392:8090a1bc1b5b 393:ae2ef965a41b
490 progress->setRange(0,0); 490 progress->setRange(0,0);
491 progress->setMinimumDuration(0); 491 progress->setMinimumDuration(0);
492 progress->show(); 492 progress->show();
493 493
494 InstallWrapper *instWrap = new InstallWrapper(this, 494 InstallWrapper *instWrap = new InstallWrapper(this,
495 mListToInstall.fileName(), 495 mListToInstall.isValid() ?
496 mListToInstall.fileName() :
497 mInstalledList.fileName(),
496 choices); 498 choices);
497 /* Clean up object and progress dialog */ 499 /* Clean up object and progress dialog */
498 connect(instWrap, SIGNAL(finished()), instWrap, SLOT(deleteLater())); 500 connect(instWrap, SIGNAL(finished()), instWrap, SLOT(deleteLater()));
499 connect(instWrap, SIGNAL(finished()), progress, SLOT(deleteLater())); 501 connect(instWrap, SIGNAL(finished()), progress, SLOT(deleteLater()));
500 connect(instWrap, SIGNAL(finished()), progress, SLOT(cancel())); 502 connect(instWrap, SIGNAL(finished()), progress, SLOT(cancel()));

http://wald.intevation.org/projects/trustbridge/