comparison ui/mainwindow.cpp @ 1231:dc1941e04373

Remove unused state. Only confusing the state model.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 24 Sep 2014 15:48:34 +0200
parents 05b938021a24
children f7e890c4dac6
comparison
equal deleted inserted replaced
1230:05b938021a24 1231:dc1941e04373
510 downloadSW); 510 downloadSW);
511 511
512 connect(downloader, SIGNAL(newListAvailable(const QString&, const QDateTime&)), 512 connect(downloader, SIGNAL(newListAvailable(const QString&, const QDateTime&)),
513 this, SLOT(handleNewList(const QString&, const QDateTime&))); 513 this, SLOT(handleNewList(const QString&, const QDateTime&)));
514 if (!downloadSW) { 514 if (!downloadSW) {
515 setState(BeforeDownload);
516 connect(downloader, SIGNAL(newSoftwareAvailable(const QString&, const QDateTime&)), 515 connect(downloader, SIGNAL(newSoftwareAvailable(const QString&, const QDateTime&)),
517 this, SLOT(handleNewSW(const QString&, const QDateTime&))); 516 this, SLOT(handleNewSW(const QString&, const QDateTime&)));
518 } else { 517 } else {
519 setState(DownloadingSW); 518 setState(DownloadingSW);
520 connect(downloader, SIGNAL(newSoftwareAvailable(const QString&, const QDateTime&)), 519 connect(downloader, SIGNAL(newSoftwareAvailable(const QString&, const QDateTime&)),

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